diff options
-rwxr-xr-x | tools/gce/create_linux_kokoro_performance_worker.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/gce/create_linux_kokoro_performance_worker.sh b/tools/gce/create_linux_kokoro_performance_worker.sh index a25cc5b6a3..d08a1aa2c6 100755 --- a/tools/gce/create_linux_kokoro_performance_worker.sh +++ b/tools/gce/create_linux_kokoro_performance_worker.sh @@ -17,7 +17,7 @@ set -ex -cd $(dirname $0) +cd "$(dirname "$0")" CLOUD_PROJECT=grpc-testing ZONE=us-central1-b # this zone allows 32core machines @@ -25,7 +25,7 @@ ZONE=us-central1-b # this zone allows 32core machines INSTANCE_NAME="${1:-grpc-kokoro-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 \ @@ -41,9 +41,9 @@ sleep 60 gcloud compute copy-files \ --project="$CLOUD_PROJECT" \ --zone "$ZONE" \ - kokoro_performance.pub linux_kokoro_performance_worker_init.sh kbuilder@${INSTANCE_NAME}:~ + kokoro_performance.pub linux_kokoro_performance_worker_init.sh "kbuilder@${INSTANCE_NAME}":~ gcloud compute ssh \ --project="$CLOUD_PROJECT" \ --zone "$ZONE" \ - kbuilder@${INSTANCE_NAME} --command "./linux_kokoro_performance_worker_init.sh" + "kbuilder@${INSTANCE_NAME}" --command "./linux_kokoro_performance_worker_init.sh" |