| 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"
|
|
|