Commit cfbc64e3 authored by Victor Marmol's avatar Victor Marmol

Merge pull request #10864 from mbforbes/gcloudUpdateJenkins

Fully update gcloud before Jenkins runs
parents f1e66c71 5f9dc8c8
...@@ -245,6 +245,9 @@ if [[ "${E2E_UP,,}" == "true" ]]; then ...@@ -245,6 +245,9 @@ if [[ "${E2E_UP,,}" == "true" ]]; then
# other. # other.
export KUBE_SKIP_UPDATE=y 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 -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 if [[ ! -z ${JENKINS_EXPLICIT_VERSION:-} ]]; then
# Use an explicit pinned version like "ci/v0.10.0-101-g6c814c4" or # Use an explicit pinned version like "ci/v0.10.0-101-g6c814c4" or
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment