Skip to content

Commit db9c760

Browse files
committed
remove clearly unnecessary lingering BUILD file references
1 parent 2734421 commit db9c760

5 files changed

+2
-11
lines changed

.generated_files

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
file-prefix zz_generated.
1818

19-
file-name BUILD
2019
file-name types.generated.go
2120
file-name generated.pb.go
2221
file-name generated.proto

hack/lib/golang.sh

-6
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ readonly KUBE_SUPPORTED_TEST_PLATFORMS=(
7070
)
7171

7272
# The set of server targets that we are only building for Linux
73-
# If you update this list, please also update build/BUILD.
7473
kube::golang::server_targets() {
7574
local targets=(
7675
cmd/kube-proxy
@@ -123,7 +122,6 @@ IFS=" " read -ra KUBE_CONFORMANCE_IMAGE_TARGETS <<< "$(kube::golang::conformance
123122
readonly KUBE_CONFORMANCE_IMAGE_TARGETS
124123

125124
# The set of server targets that we are only building for Kubernetes nodes
126-
# If you update this list, please also update build/BUILD.
127125
kube::golang::node_targets() {
128126
local targets=(
129127
cmd/kube-proxy
@@ -256,7 +254,6 @@ kube::golang::setup_platforms() {
256254
kube::golang::setup_platforms
257255

258256
# The set of client targets that we are building for all platforms
259-
# If you update this list, please also update build/BUILD.
260257
readonly KUBE_CLIENT_TARGETS=(
261258
cmd/kubectl
262259
cmd/kubectl-convert
@@ -265,7 +262,6 @@ readonly KUBE_CLIENT_BINARIES=("${KUBE_CLIENT_TARGETS[@]##*/}")
265262
readonly KUBE_CLIENT_BINARIES_WIN=("${KUBE_CLIENT_BINARIES[@]/%/.exe}")
266263

267264
# The set of test targets that we are building for all platforms
268-
# If you update this list, please also update build/BUILD.
269265
kube::golang::test_targets() {
270266
local targets=(
271267
cmd/gendocs
@@ -283,7 +279,6 @@ IFS=" " read -ra KUBE_TEST_TARGETS <<< "$(kube::golang::test_targets)"
283279
readonly KUBE_TEST_TARGETS
284280
readonly KUBE_TEST_BINARIES=("${KUBE_TEST_TARGETS[@]##*/}")
285281
readonly KUBE_TEST_BINARIES_WIN=("${KUBE_TEST_BINARIES[@]/%/.exe}")
286-
# If you update this list, please also update build/BUILD.
287282
readonly KUBE_TEST_PORTABLE=(
288283
test/e2e/testing-manifests
289284
test/kubemark
@@ -296,7 +291,6 @@ readonly KUBE_TEST_PORTABLE=(
296291
# Test targets which run on the Kubernetes clusters directly, so we only
297292
# need to target server platforms.
298293
# These binaries will be distributed in the kubernetes-test tarball.
299-
# If you update this list, please also update build/BUILD.
300294
kube::golang::server_test_targets() {
301295
local targets=(
302296
cmd/kubemark

hack/verify-flags-underscore.py

-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ def get_all_files(rootdir):
6262
dirs.remove('third_party')
6363
if '.git' in dirs:
6464
dirs.remove('.git')
65-
if 'BUILD' in files:
66-
files.remove('BUILD')
6765

6866
for name in files:
6967
pathname = os.path.join(root, name)

hack/verify-readonly-packages.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ find_files() {
4747
conflicts=()
4848
while IFS=$'\n' read -r dir; do
4949
dir=${dir#./}
50-
if kube::util::has_changes "${branch}" "^${dir}/[^/]*\$" '/\.readonly$|/BUILD$|/zz_generated|/\.generated\.|\.proto$|\.pb\.go$' >/dev/null; then
50+
if kube::util::has_changes "${branch}" "^${dir}/[^/]*\$" '/\.readonly$|/zz_generated|/\.generated\.|\.proto$|\.pb\.go$' >/dev/null; then
5151
conflicts+=("${dir}")
5252
fi
5353
done < <(find_files | sed 's|/.readonly||')

hack/verify-vendor.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pushd "${KUBE_ROOT}" > /dev/null 2>&1
7474
ret=1
7575
fi
7676

77-
if ! _out="$(diff -Naupr -x "BUILD" -x "AUTHORS*" -x "CONTRIBUTORS*" vendor "${_kubetmp}/vendor")"; then
77+
if ! _out="$(diff -Naupr -x "AUTHORS*" -x "CONTRIBUTORS*" vendor "${_kubetmp}/vendor")"; then
7878
echo "Your vendored results are different:" >&2
7979
echo "${_out}" >&2
8080
echo "Vendor Verify failed." >&2

0 commit comments

Comments
 (0)