aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gce/create_linux_performance_worker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gce/create_linux_performance_worker.sh')
-rwxr-xr-xtools/gce/create_linux_performance_worker.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/gce/create_linux_performance_worker.sh b/tools/gce/create_linux_performance_worker.sh
index e3bc1d577d..e9033ec443 100755
--- a/tools/gce/create_linux_performance_worker.sh
+++ b/tools/gce/create_linux_performance_worker.sh
@@ -21,7 +21,7 @@
set -ex
-cd $(dirname $0)
+cd "$(dirname "$0")"
CLOUD_PROJECT=grpc-testing
ZONE=us-central1-b # this zone allows 32core machines
@@ -29,7 +29,7 @@ ZONE=us-central1-b # this zone allows 32core machines
INSTANCE_NAME="${1:-grpc-performance-server1}"
MACHINE_TYPE=n1-standard-32
-gcloud compute instances create $INSTANCE_NAME \
+gcloud compute instances create "$INSTANCE_NAME" \
--project="$CLOUD_PROJECT" \
--zone "$ZONE" \
--machine-type $MACHINE_TYPE \
@@ -45,9 +45,9 @@ sleep 60
gcloud compute copy-files \
--project="$CLOUD_PROJECT" \
--zone "$ZONE" \
- jenkins_master.pub linux_performance_worker_init.sh jenkins@${INSTANCE_NAME}:~
+ jenkins_master.pub linux_performance_worker_init.sh "jenkins@${INSTANCE_NAME}":~
gcloud compute ssh \
--project="$CLOUD_PROJECT" \
--zone "$ZONE" \
- jenkins@${INSTANCE_NAME} --command "./linux_performance_worker_init.sh"
+ "jenkins@${INSTANCE_NAME}" --command "./linux_performance_worker_init.sh"