diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2017-11-02 11:47:11 +0100 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2017-11-02 11:47:11 +0100 |
commit | 4160ec4dc0e4c0e950672b9516ead0dbda7208e0 (patch) | |
tree | 3cd7dadcf84ec9b93a86eee7ef39cd65a8c659fe /tools/gce/create_windows_debug_worker.sh | |
parent | e8019b21e7c22e502bf5a2cb08194705f629d166 (diff) |
simplify create windows debug worker script
Diffstat (limited to 'tools/gce/create_windows_debug_worker.sh')
-rwxr-xr-x | tools/gce/create_windows_debug_worker.sh | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/tools/gce/create_windows_debug_worker.sh b/tools/gce/create_windows_debug_worker.sh index 9ac82eb3f6..b56c8d95d9 100755 --- a/tools/gce/create_windows_debug_worker.sh +++ b/tools/gce/create_windows_debug_worker.sh @@ -32,17 +32,6 @@ else fi MACHINE_TYPE=n1-standard-8 -TMP_DISK_NAME="$INSTANCE_NAME-temp-disk" - -gcloud compute disks create $TMP_DISK_NAME \ - --project="$CLOUD_PROJECT" \ - --zone "$ZONE" \ - --image-project google.com:kokoro \ - --image empty-100g-image \ - --type pd-ssd - -echo 'Created scratch disk, waiting for it to become available.' -sleep 15 gcloud compute instances create $INSTANCE_NAME \ --project="$CLOUD_PROJECT" \ @@ -50,6 +39,6 @@ gcloud compute instances create $INSTANCE_NAME \ --machine-type $MACHINE_TYPE \ --image-project google.com:kokoro \ --image kokoro-win7build-v9-prod-debug \ - --boot-disk-type pd-ssd \ - --tags=allow-ssh \ - --disk auto-delete=yes,boot=no,name=$TMP_DISK_NAME + --boot-disk-size 500 \ + --boot-disk-type pd-ssd \ + --tags=allow-ssh |