mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Fix a few e2e references to allow gke to test dogfood builds
This commit is contained in:
parent
1ba909098e
commit
e72431033a
@ -99,7 +99,7 @@ function verify-prereqs() {
|
|||||||
sudo_prefix="sudo"
|
sudo_prefix="sudo"
|
||||||
fi
|
fi
|
||||||
${sudo_prefix} gcloud ${gcloud_prompt:-} components update preview || true
|
${sudo_prefix} gcloud ${gcloud_prompt:-} components update preview || true
|
||||||
${sudo_prefix} gcloud ${gcloud_prompt:-} components update alpha|| true
|
${sudo_prefix} gcloud ${gcloud_prompt:-} components update "${CMD_GROUP}"|| true
|
||||||
${sudo_prefix} gcloud ${gcloud_prompt:-} components update kubectl|| true
|
${sudo_prefix} gcloud ${gcloud_prompt:-} components update kubectl|| true
|
||||||
${sudo_prefix} gcloud ${gcloud_prompt:-} components update || true
|
${sudo_prefix} gcloud ${gcloud_prompt:-} components update || true
|
||||||
}
|
}
|
||||||
|
@ -127,7 +127,7 @@ if [[ "${E2E_UP,,}" == "true" ]]; then
|
|||||||
# code=400,message=cluster.cluster_api_versionmustbeoneof:
|
# code=400,message=cluster.cluster_api_versionmustbeoneof:
|
||||||
# 0.15.0,0.16.0.
|
# 0.15.0,0.16.0.
|
||||||
# The command should error, so we throw an || true on there.
|
# The command should error, so we throw an || true on there.
|
||||||
msg=$(gcloud alpha container clusters create this-wont-work \
|
msg=$(gcloud ${CMD_GROUP:-alpha} container clusters create this-wont-work \
|
||||||
--zone=us-central1-f --cluster-api-version=0.0.0 2>&1 \
|
--zone=us-central1-f --cluster-api-version=0.0.0 2>&1 \
|
||||||
| tr -d '[[:space:]]') || true
|
| tr -d '[[:space:]]') || true
|
||||||
# Strip out everything before the final colon, which gives us just
|
# Strip out everything before the final colon, which gives us just
|
||||||
|
Loading…
Reference in New Issue
Block a user