mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-16 23:29:21 +00:00
(GKE) Stop 'gcloud preview' call from failing Jenkins jobs.
This commit is contained in:
parent
b4ca61b17b
commit
4a45aff0ec
@ -244,7 +244,7 @@ function detect-minion-names {
|
|||||||
detect-project
|
detect-project
|
||||||
detect-node-instance-group
|
detect-node-instance-group
|
||||||
MINION_NAMES=($(gcloud preview --project "${PROJECT}" instance-groups \
|
MINION_NAMES=($(gcloud preview --project "${PROJECT}" instance-groups \
|
||||||
--zone "${ZONE}" instances --group "${NODE_INSTANCE_GROUP}" list \
|
--zone "${ZONE}" instances --group "${NODE_INSTANCE_GROUP}" list --quiet \
|
||||||
| cut -d'/' -f11))
|
| cut -d'/' -f11))
|
||||||
echo "MINION_NAMES=${MINION_NAMES[*]}"
|
echo "MINION_NAMES=${MINION_NAMES[*]}"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user