From 5a83303fd6e3b4673de21484e3edd9202911130f Mon Sep 17 00:00:00 2001 From: Benjamin Elder Date: Sun, 7 Mar 2021 13:13:28 -0800 Subject: [PATCH] drop bazel from generate-bindata.sh --- hack/generate-bindata.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/hack/generate-bindata.sh b/hack/generate-bindata.sh index c12da77e54b..ad8f785a458 100755 --- a/hack/generate-bindata.sh +++ b/hack/generate-bindata.sh @@ -40,10 +40,8 @@ pushd "${KUBE_ROOT}" >/dev/null # These are files for e2e tests. BINDATA_OUTPUT="test/e2e/generated/bindata.go" -# IMPORTANT: if you make any changes to these arguments, you must also update -# test/e2e/generated/BUILD and/or build/bindata.bzl. go-bindata -nometadata -o "${BINDATA_OUTPUT}.tmp" -pkg generated \ - -ignore .jpg -ignore .png -ignore .md -ignore 'BUILD(\.bazel)?' \ + -ignore .jpg -ignore .png -ignore .md \ "test/conformance/testdata/..." \ "test/e2e/testing-manifests/..." \ "test/e2e_node/testing-manifests/..." \ @@ -66,10 +64,8 @@ rm -f "${BINDATA_OUTPUT}.tmp" # These are files for runtime code BINDATA_OUTPUT="staging/src/k8s.io/kubectl/pkg/generated/bindata.go" -# IMPORTANT: if you make any changes to these arguments, you must also update -# pkg/generated/BUILD and/or build/bindata.bzl. go-bindata -nometadata -nocompress -o "${BINDATA_OUTPUT}.tmp" -pkg generated \ - -ignore .jpg -ignore .png -ignore .md -ignore 'BUILD(\.bazel)?' \ + -ignore .jpg -ignore .png -ignore .md \ "translations/..." gofmt -s -w "${BINDATA_OUTPUT}.tmp"