mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #37114 from mikedanese/fix-bzl
Automatic merge from submit-queue revert revert of test/e2e/generated/BUILD
This commit is contained in:
commit
fa0eb19bcc
@ -210,7 +210,10 @@ go_library(
|
||||
],
|
||||
)
|
||||
|
||||
go_test(
|
||||
# this is a private library until we can support building the
|
||||
# test binary
|
||||
# TODO(mikedanese): fix @io_bazelbuild/rules_go
|
||||
go_library(
|
||||
name = "go_default_test",
|
||||
srcs = [
|
||||
"e2e_test.go",
|
||||
@ -218,6 +221,7 @@ go_test(
|
||||
],
|
||||
library = "go_default_library",
|
||||
tags = ["automanaged"],
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"//pkg/api:go_default_library",
|
||||
"//pkg/client/clientset_generated/internalclientset:go_default_library",
|
||||
|
@ -13,8 +13,28 @@ load(
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = [
|
||||
"bindata.go",
|
||||
"main.go",
|
||||
":bindata",
|
||||
],
|
||||
)
|
||||
|
||||
genrule(
|
||||
name = "bindata",
|
||||
srcs = [
|
||||
"//examples:sources",
|
||||
"//test/images:sources",
|
||||
"//test/fixtures:sources",
|
||||
"//test/e2e/testing-manifests:sources",
|
||||
],
|
||||
outs = ["bindata.go"],
|
||||
cmd = """
|
||||
$(location //vendor:github.com/jteeuwen/go-bindata/go-bindata) \
|
||||
-nometadata -o "$(OUTS)" -pkg generated \
|
||||
-prefix $$(pwd) \
|
||||
-ignore .jpg -ignore .png -ignore .md \
|
||||
$(SRCS)
|
||||
""",
|
||||
tools = [
|
||||
"//vendor:github.com/jteeuwen/go-bindata/go-bindata",
|
||||
],
|
||||
tags = ["automanaged"],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user