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

Unified Diff: compute_engine_scripts/monitoring/vm_create_instance.sh

Issue 310253003: Add setup scripts for a Graphite server. (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Created 6 years, 6 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/monitoring/vm_create_instance.sh
diff --git a/compute_engine_scripts/monitoring/vm_create_instance.sh b/compute_engine_scripts/monitoring/vm_create_instance.sh
new file mode 100755
index 0000000000000000000000000000000000000000..efc4fa33fe14b6881b16e7cd8519b4330800d8df
--- /dev/null
+++ b/compute_engine_scripts/monitoring/vm_create_instance.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+#
+# Create the compute instance for skiamonitor.com.
+#
+
+source ../buildbots/vm_config.sh
+
+gcutil --project=$PROJECT_ID addinstance skia-monitoring-$ZONE_TAG \
+ --zone=$ZONE
+ --external_ip_address=$MONITORING_IP_ADDRESS \
+ --service_account=$PROJECT_USER \
+ --service_account_scopes=$SCOPES \
+ --network=default \
+ --machine_type=$MONITORING_MACHINE_TYPE \
+ --image=$MONITORING_IMAGE \
+ --persistent_boot_disk

Powered by Google App Engine
This is Rietveld 408576698