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

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..bd99ea92d16e1ded21a04718f144b7dc3268b110
--- /dev/null
+++ b/compute_engine_scripts/monitoring/vm_create_instance.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+#
+# Create the compute instance for skiamonitor.com.
+#
+
+source ../buildbots/vm_config.sh
+
+# Basically SSH in, update the copy of this repo and jump to a shell script in
rmistry 2014/06/16 13:03:37 Please update or delete this comment.
jcgregorio 2014/06/16 13:22:43 Done.
+# the repo that does the update.
+gcutil --project=$PROJECT_ID addinstance skia-monitoring-$ZONE_TAG \
+ --zone=$ZONE
+ --external_ip_address=$MONITORING_IP_ADDRESS \
+ --service_account=$PROJECT_USER \
+ --service_account_scopes="https://www.googleapis.com/auth/devstorage.full_control" \
rmistry 2014/06/16 13:03:37 This constant is specified in vm_config.sh
jcgregorio 2014/06/16 13:22:43 Done.
+ --network=default \
+ --machine_type=n1-standard-1 \
rmistry 2014/06/16 13:03:37 Could you create a constant in vm_config.sh for th
jcgregorio 2014/06/16 13:22:43 Done.
+ --image=backports-debian-7-wheezy-v20140331 \
rmistry 2014/06/16 13:03:38 Could you create a constant in vm_config.sh for th
jcgregorio 2014/06/16 13:22:43 Done.
+ --persistent_boot_disk

Powered by Google App Engine
This is Rietveld 408576698