diff options
Diffstat (limited to 'tools/gce')
-rwxr-xr-x | tools/gce/create_interop_worker.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/gce/create_interop_worker.sh b/tools/gce/create_interop_worker.sh index 3e59dc501a..205c0bf8c5 100755 --- a/tools/gce/create_interop_worker.sh +++ b/tools/gce/create_interop_worker.sh @@ -20,14 +20,14 @@ set -ex -cd $(dirname $0) +cd "$(dirname "$0")" CLOUD_PROJECT=grpc-testing ZONE=us-east1-a # canary gateway is reachable from this zone INSTANCE_NAME="${1:-grpc-canary-interop2}" -gcloud compute instances create $INSTANCE_NAME \ +gcloud compute instances create "$INSTANCE_NAME" \ --project="$CLOUD_PROJECT" \ --zone "$ZONE" \ --machine-type n1-standard-16 \ @@ -42,9 +42,9 @@ sleep 60 gcloud compute copy-files \ --project="$CLOUD_PROJECT" \ --zone "$ZONE" \ - jenkins_master.pub linux_worker_init.sh ${INSTANCE_NAME}:~ + jenkins_master.pub linux_worker_init.sh "${INSTANCE_NAME}":~ gcloud compute ssh \ --project="$CLOUD_PROJECT" \ --zone "$ZONE" \ - $INSTANCE_NAME --command "./linux_worker_init.sh" + "$INSTANCE_NAME" --command "./linux_worker_init.sh" |