Merge pull request #13237 from jtattermusch/improve_win_debug_worker_script

Simplify create windows debug worker script
pull/13239/head
Jan Tattermusch 7 years ago committed by GitHub
commit 53417d6e5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      tools/gce/create_windows_debug_worker.sh

@ -32,17 +32,6 @@ else
fi fi
MACHINE_TYPE=n1-standard-8 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 \ gcloud compute instances create $INSTANCE_NAME \
--project="$CLOUD_PROJECT" \ --project="$CLOUD_PROJECT" \
@ -50,6 +39,6 @@ gcloud compute instances create $INSTANCE_NAME \
--machine-type $MACHINE_TYPE \ --machine-type $MACHINE_TYPE \
--image-project google.com:kokoro \ --image-project google.com:kokoro \
--image kokoro-win7build-v9-prod-debug \ --image kokoro-win7build-v9-prod-debug \
--boot-disk-type pd-ssd \ --boot-disk-size 500 \
--tags=allow-ssh \ --boot-disk-type pd-ssd \
--disk auto-delete=yes,boot=no,name=$TMP_DISK_NAME --tags=allow-ssh

Loading…
Cancel
Save