Merge pull request #68568 from fasthall/e2e-node

make test zone an option in test-e2e-node.sh script
This commit is contained in:
k8s-ci-robot
2018-09-25 12:16:21 -07:00
committed by GitHub

View File

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