Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(830)

Unified Diff: compute_engine_scripts/skfe/vm_delete_instance.sh

Issue 819473004: Set up the nginx servers for handling *.skia.org traffic. (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: compute_engine_scripts/skfe/vm_delete_instance.sh
diff --git a/compute_engine_scripts/skfe/vm_delete_instance.sh b/compute_engine_scripts/skfe/vm_delete_instance.sh
new file mode 100755
index 0000000000000000000000000000000000000000..be35ccfa94359c1553c48ef052f55591eb98d263
--- /dev/null
+++ b/compute_engine_scripts/skfe/vm_delete_instance.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+#
+# Deletes the compute instance for skia-docs.
+#
+set -x
+
+source vm_config.sh
+
+for NUM in $(seq 1 $NUM_INSTANCES); do
+
+ gcloud compute instances delete \
+ --project=$PROJECT_ID \
+ --delete-disks "all" \
+ --zone=$ZONE \
+ $INSTANCE_NAME-$NUM
+
+done

Powered by Google App Engine
This is Rietveld 408576698