Merge pull request #7175 from zmerlynn/jenkins_skip_update

Use KUBE_SKIP_UPDATE in Jenkins
pull/6/head
Fabio Yeon 2015-04-22 11:03:46 -07:00
commit 46d7868fbd
1 changed files with 4 additions and 0 deletions

View File

@ -102,6 +102,10 @@ else
exit 1
fi
# Tell kube-up.sh to skip the update, it doesn't lock. An internal
# gcloud bug can cause racing component updates to stomp on each
# other.
export KUBE_SKIP_UPDATE=y
sudo flock -x -n /var/run/lock/gcloud-components.lock -c "gcloud components update -q" || true
# The "ci" bucket is for builds like "v0.15.0-468-gfa648c1"