mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #112864 from BenTheElder/nobzl
remove more lingering bazel references
This commit is contained in:
commit
4e3b3764ff
@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
file-prefix zz_generated.
|
file-prefix zz_generated.
|
||||||
|
|
||||||
file-name BUILD
|
|
||||||
file-name types.generated.go
|
file-name types.generated.go
|
||||||
file-name generated.pb.go
|
file-name generated.pb.go
|
||||||
file-name generated.proto
|
file-name generated.proto
|
||||||
|
@ -90,8 +90,6 @@ def file_passes(filename, refs, regexs):
|
|||||||
if generated:
|
if generated:
|
||||||
if extension == "go":
|
if extension == "go":
|
||||||
extension = "generatego"
|
extension = "generatego"
|
||||||
elif extension == "bzl":
|
|
||||||
extension = "generatebzl"
|
|
||||||
|
|
||||||
if extension != "":
|
if extension != "":
|
||||||
ref = refs[extension]
|
ref = refs[extension]
|
||||||
|
@ -70,7 +70,6 @@ readonly KUBE_SUPPORTED_TEST_PLATFORMS=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
# The set of server targets that we are only building for Linux
|
# The set of server targets that we are only building for Linux
|
||||||
# If you update this list, please also update build/BUILD.
|
|
||||||
kube::golang::server_targets() {
|
kube::golang::server_targets() {
|
||||||
local targets=(
|
local targets=(
|
||||||
cmd/kube-proxy
|
cmd/kube-proxy
|
||||||
@ -123,7 +122,6 @@ IFS=" " read -ra KUBE_CONFORMANCE_IMAGE_TARGETS <<< "$(kube::golang::conformance
|
|||||||
readonly KUBE_CONFORMANCE_IMAGE_TARGETS
|
readonly KUBE_CONFORMANCE_IMAGE_TARGETS
|
||||||
|
|
||||||
# The set of server targets that we are only building for Kubernetes nodes
|
# The set of server targets that we are only building for Kubernetes nodes
|
||||||
# If you update this list, please also update build/BUILD.
|
|
||||||
kube::golang::node_targets() {
|
kube::golang::node_targets() {
|
||||||
local targets=(
|
local targets=(
|
||||||
cmd/kube-proxy
|
cmd/kube-proxy
|
||||||
@ -256,7 +254,6 @@ kube::golang::setup_platforms() {
|
|||||||
kube::golang::setup_platforms
|
kube::golang::setup_platforms
|
||||||
|
|
||||||
# The set of client targets that we are building for all platforms
|
# The set of client targets that we are building for all platforms
|
||||||
# If you update this list, please also update build/BUILD.
|
|
||||||
readonly KUBE_CLIENT_TARGETS=(
|
readonly KUBE_CLIENT_TARGETS=(
|
||||||
cmd/kubectl
|
cmd/kubectl
|
||||||
cmd/kubectl-convert
|
cmd/kubectl-convert
|
||||||
@ -265,7 +262,6 @@ readonly KUBE_CLIENT_BINARIES=("${KUBE_CLIENT_TARGETS[@]##*/}")
|
|||||||
readonly KUBE_CLIENT_BINARIES_WIN=("${KUBE_CLIENT_BINARIES[@]/%/.exe}")
|
readonly KUBE_CLIENT_BINARIES_WIN=("${KUBE_CLIENT_BINARIES[@]/%/.exe}")
|
||||||
|
|
||||||
# The set of test targets that we are building for all platforms
|
# The set of test targets that we are building for all platforms
|
||||||
# If you update this list, please also update build/BUILD.
|
|
||||||
kube::golang::test_targets() {
|
kube::golang::test_targets() {
|
||||||
local targets=(
|
local targets=(
|
||||||
cmd/gendocs
|
cmd/gendocs
|
||||||
@ -283,7 +279,6 @@ IFS=" " read -ra KUBE_TEST_TARGETS <<< "$(kube::golang::test_targets)"
|
|||||||
readonly KUBE_TEST_TARGETS
|
readonly KUBE_TEST_TARGETS
|
||||||
readonly KUBE_TEST_BINARIES=("${KUBE_TEST_TARGETS[@]##*/}")
|
readonly KUBE_TEST_BINARIES=("${KUBE_TEST_TARGETS[@]##*/}")
|
||||||
readonly KUBE_TEST_BINARIES_WIN=("${KUBE_TEST_BINARIES[@]/%/.exe}")
|
readonly KUBE_TEST_BINARIES_WIN=("${KUBE_TEST_BINARIES[@]/%/.exe}")
|
||||||
# If you update this list, please also update build/BUILD.
|
|
||||||
readonly KUBE_TEST_PORTABLE=(
|
readonly KUBE_TEST_PORTABLE=(
|
||||||
test/e2e/testing-manifests
|
test/e2e/testing-manifests
|
||||||
test/kubemark
|
test/kubemark
|
||||||
@ -296,7 +291,6 @@ readonly KUBE_TEST_PORTABLE=(
|
|||||||
# Test targets which run on the Kubernetes clusters directly, so we only
|
# Test targets which run on the Kubernetes clusters directly, so we only
|
||||||
# need to target server platforms.
|
# need to target server platforms.
|
||||||
# These binaries will be distributed in the kubernetes-test tarball.
|
# These binaries will be distributed in the kubernetes-test tarball.
|
||||||
# If you update this list, please also update build/BUILD.
|
|
||||||
kube::golang::server_test_targets() {
|
kube::golang::server_test_targets() {
|
||||||
local targets=(
|
local targets=(
|
||||||
cmd/kubemark
|
cmd/kubemark
|
||||||
|
@ -62,8 +62,6 @@ def get_all_files(rootdir):
|
|||||||
dirs.remove('third_party')
|
dirs.remove('third_party')
|
||||||
if '.git' in dirs:
|
if '.git' in dirs:
|
||||||
dirs.remove('.git')
|
dirs.remove('.git')
|
||||||
if 'BUILD' in files:
|
|
||||||
files.remove('BUILD')
|
|
||||||
|
|
||||||
for name in files:
|
for name in files:
|
||||||
pathname = os.path.join(root, name)
|
pathname = os.path.join(root, name)
|
||||||
|
@ -47,7 +47,7 @@ find_files() {
|
|||||||
conflicts=()
|
conflicts=()
|
||||||
while IFS=$'\n' read -r dir; do
|
while IFS=$'\n' read -r dir; do
|
||||||
dir=${dir#./}
|
dir=${dir#./}
|
||||||
if kube::util::has_changes "${branch}" "^${dir}/[^/]*\$" '/\.readonly$|/BUILD$|/zz_generated|/\.generated\.|\.proto$|\.pb\.go$' >/dev/null; then
|
if kube::util::has_changes "${branch}" "^${dir}/[^/]*\$" '/\.readonly$|/zz_generated|/\.generated\.|\.proto$|\.pb\.go$' >/dev/null; then
|
||||||
conflicts+=("${dir}")
|
conflicts+=("${dir}")
|
||||||
fi
|
fi
|
||||||
done < <(find_files | sed 's|/.readonly||')
|
done < <(find_files | sed 's|/.readonly||')
|
||||||
|
@ -74,7 +74,7 @@ pushd "${KUBE_ROOT}" > /dev/null 2>&1
|
|||||||
ret=1
|
ret=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! _out="$(diff -Naupr -x "BUILD" -x "AUTHORS*" -x "CONTRIBUTORS*" vendor "${_kubetmp}/vendor")"; then
|
if ! _out="$(diff -Naupr -x "AUTHORS*" -x "CONTRIBUTORS*" vendor "${_kubetmp}/vendor")"; then
|
||||||
echo "Your vendored results are different:" >&2
|
echo "Your vendored results are different:" >&2
|
||||||
echo "${_out}" >&2
|
echo "${_out}" >&2
|
||||||
echo "Vendor Verify failed." >&2
|
echo "Vendor Verify failed." >&2
|
||||||
|
@ -1991,10 +1991,6 @@ rules:
|
|||||||
dir: staging/src/k8s.io/pod-security-admission
|
dir: staging/src/k8s.io/pod-security-admission
|
||||||
library: true
|
library: true
|
||||||
recursive-delete-patterns:
|
recursive-delete-patterns:
|
||||||
- BUILD
|
|
||||||
- '*/BUILD'
|
|
||||||
- BUILD.bazel
|
|
||||||
- '*/BUILD.bazel'
|
|
||||||
- Gopkg.toml
|
- Gopkg.toml
|
||||||
- '*/.gitattributes'
|
- '*/.gitattributes'
|
||||||
default-go-version: 1.19.1
|
default-go-version: 1.19.1
|
||||||
|
Loading…
Reference in New Issue
Block a user