From 5f9dc8c84caa04cd8a535e237cf57d34fc49a334 Mon Sep 17 00:00:00 2001 From: Max Forbes Date: Tue, 7 Jul 2015 13:22:54 -0700 Subject: [PATCH] Fully update gcloud before Jenkins runs. --- hack/jenkins/e2e.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hack/jenkins/e2e.sh b/hack/jenkins/e2e.sh index 3e79dcf572d..29d481c7c3a 100755 --- a/hack/jenkins/e2e.sh +++ b/hack/jenkins/e2e.sh @@ -217,6 +217,9 @@ if [[ "${E2E_UP,,}" == "true" ]]; then # other. export KUBE_SKIP_UPDATE=y sudo flock -x -n /var/run/lock/gcloud-components.lock -c "gcloud components update -q" || true + sudo flock -x -n /var/run/lock/gcloud-components.lock -c "gcloud components update preview -q" || true + sudo flock -x -n /var/run/lock/gcloud-components.lock -c "gcloud components update alpha -q" || true + sudo flock -x -n /var/run/lock/gcloud-components.lock -c "gcloud components update beta -q" || true if [[ ! -z ${JENKINS_EXPLICIT_VERSION:-} ]]; then # Use an explicit pinned version like "ci/v0.10.0-101-g6c814c4" or