diff --git a/test/e2e/generated/BUILD b/test/e2e/generated/BUILD index 2139eb1437a..a82f3efa2c1 100644 --- a/test/e2e/generated/BUILD +++ b/test/e2e/generated/BUILD @@ -12,6 +12,29 @@ load( go_library( name = "go_default_library", - srcs = ["main.go"], - tags = ["automanaged"], + srcs = [ + "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", + ], ) diff --git a/vendor/BUILD b/vendor/BUILD index 92d33ec078a..14d3b9fc1c3 100644 --- a/vendor/BUILD +++ b/vendor/BUILD @@ -3513,13 +3513,6 @@ go_library( tags = ["automanaged"], ) -go_library( - name = "github.com/google/cadvisor/info/v1/test", - srcs = ["github.com/google/cadvisor/info/v1/test/datagen.go"], - tags = ["automanaged"], - deps = ["//vendor:github.com/google/cadvisor/info/v1"], -) - go_library( name = "github.com/google/cadvisor/info/v2", srcs = [