Unverified Commit 9cadfbb0 authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #68568 from fasthall/e2e-node

make test zone an option in test-e2e-node.sh script
parents fbf2d6d7 ef06031d
......@@ -96,7 +96,7 @@ if [ $remote = true ] ; then
test_suite=${TEST_SUITE:-"default"}
# Get the compute zone
zone=$(gcloud info --format='value(config.properties.compute.zone)')
zone=${ZONE:-"$(gcloud info --format='value(config.properties.compute.zone)')"}
if [[ $zone == "" ]]; then
echo "Could not find gcloud compute/zone when running: \`gcloud info --format='value(config.properties.compute.zone)'\`"
exit 1
......
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