Merge pull request #118191 from liggitt/local-up

fix using stale binaries in local-up-cluster
This commit is contained in:
Kubernetes Prow Robot 2023-05-22 18:16:20 -07:00 committed by GitHub
commit 6d6d858ef2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,10 +186,10 @@ do
esac
done
if [ -z "${GO_OUT:-$(guess_built_binary_path)}" ]; then
if [ -z "${GO_OUT}" ]; then
make -C "${KUBE_ROOT}" WHAT="cmd/kubectl cmd/kube-apiserver cmd/kube-controller-manager cmd/cloud-controller-manager cmd/kubelet cmd/kube-proxy cmd/kube-scheduler"
else
echo "skipped the build as we found existing binaries in $(guess_built_binary_path)"
echo "skipped the build because GO_OUT was set (${GO_OUT})"
fi
# Shut down anyway if there's an error.