mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
Fully update gcloud before Jenkins runs.
This commit is contained in:
parent
530bff315f
commit
5f9dc8c84c
@ -217,6 +217,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
|
||||||
|
Loading…
Reference in New Issue
Block a user