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

Unified Diff: compute_engine_scripts/monitoring/vm_setup_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_setup_instance.sh
diff --git a/compute_engine_scripts/monitoring/vm_setup_instance.sh b/compute_engine_scripts/monitoring/vm_setup_instance.sh
new file mode 100755
index 0000000000000000000000000000000000000000..6d2d9c278e78e793ba075148b2aa8fc9f16f8058
--- /dev/null
+++ b/compute_engine_scripts/monitoring/vm_setup_instance.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+#
+# Setup all the software running on skiamonitor.com.
+#
+
+source ../buildbots/vm_config.sh
+
+# Basically SSH in, clone this repo and jump to a shell script in the repo.
+
+gcutil --project=$PROJECT_ID ssh --ssh_user=$PROJECT_USER skia-monitoring-$ZONE_TAG \
+ "cd ~/buildbot;" \
+ "git clone https://skia.googlesource.com/buildbot;" \
+ "cd buildbot/compute_engine_scripts/monitoring;" \
+ "./graphite_setup.sh"
+
+echo "Make sure to 'set daemon 2' in /etc/monit/monitrc"

Powered by Google App Engine
This is Rietveld 408576698