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

Side by Side Diff: compute_engine_scripts/buildbots/vm_config.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 unified diff | Download patch
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # This file contains constants for the shell scripts which interact 3 # This file contains constants for the shell scripts which interact
4 # with the Google Compute Engine instances. 4 # with the Google Compute Engine instances.
5 # 5 #
6 # Copyright 2012 Google Inc. All Rights Reserved. 6 # Copyright 2012 Google Inc. All Rights Reserved.
7 # Author: rmistry@google.com (Ravi Mistry) 7 # Author: rmistry@google.com (Ravi Mistry)
8 8
9 # The base names of the VM instances. Actual names are VM_NAME_BASE-name-zone 9 # The base names of the VM instances. Actual names are VM_NAME_BASE-name-zone
10 VM_NAME_BASE=${VM_NAME_BASE:="skia"} 10 VM_NAME_BASE=${VM_NAME_BASE:="skia"}
11 11
12 # Master names, type and their IP addresses to use for each zone. 12 # Master names, type and their IP addresses to use for each zone.
13 VM_MASTER_NAMES=${VM_MASTER_NAMES:="master private-master fyi-master android-mas ter compile-master experimental-master"} 13 VM_MASTER_NAMES=${VM_MASTER_NAMES:="master private-master fyi-master android-mas ter compile-master experimental-master"}
14 MASTER_MACHINE_TYPE="n1-highmem-2" 14 MASTER_MACHINE_TYPE="n1-highmem-2"
15 MASTER_IP_ADDRESSES_a="108.170.220.117 108.170.220.115 108.170.220.123 108.170.2 20.122 108.170.220.75 108.170.220.127" 15 MASTER_IP_ADDRESSES_a="108.170.220.117 108.170.220.115 108.170.220.123 108.170.2 20.122 108.170.220.75 108.170.220.127"
16 MASTER_IP_ADDRESSES_b="108.170.220.120 108.170.220.27 108.170.220.102 108.170.22 0.21 108.170.220.76 108.170.220.89" 16 MASTER_IP_ADDRESSES_b="108.170.220.120 108.170.220.27 108.170.220.102 108.170.22 0.21 108.170.220.76 108.170.220.89"
17 17
18 # Slave names, type and their IP addresses. 18 # Slave names, type and their IP addresses.
19 VM_SLAVE_NAMES=${VM_SLAVE_NAMES:="housekeeping-slave compile1 compile2 compile3 compile4 compile5"} 19 VM_SLAVE_NAMES=${VM_SLAVE_NAMES:="housekeeping-slave compile1 compile2 compile3 compile4 compile5"}
20 SLAVES_MACHINE_TYPE="n1-standard-2" 20 SLAVES_MACHINE_TYPE="n1-standard-2"
21 # The list of slave names must correspond to the list of their IP addresses. 21 # The list of slave names must correspond to the list of their IP addresses.
22 # If you need to add more slaves find available IP addresses by running: 22 # If you need to add more slaves find available IP addresses by running:
23 # gcutil --project=google.com:skia-buildbots listaddresses 23 # gcutil --project=google.com:skia-buildbots listaddresses
24 SLAVE_IP_ADDRESSES="108.170.220.73 108.170.220.26 108.170.220.96 108.170.220.108 108.170.220.55 108.170.220.69" 24 SLAVE_IP_ADDRESSES="108.170.220.73 108.170.220.26 108.170.220.96 108.170.220.108 108.170.220.55 108.170.220.69"
25 # The following IP addresses are reserved for skia-android-canary: 25 # The following IP addresses are reserved for skia-android-canary:
26 # 108.170.220.94 26 # 108.170.220.94
27 # The following IP address is used by webtry (jcgregorio's instance): 27 # The following IP address is used by skia-webtry (jcgregorio's instance):
28 # 108.170.220.126 28 # 108.170.220.126
29 # The following IP address is used by skia-perf (bensong's instance): 29 # The following IP address is used by skia-perf (bensong's instance):
30 # 108.170.220.208 30 # 108.170.220.208
31 # The following IP address is used by skia-monitor (jcgregorio's instance):
32 MONITORING_IP_ADDRESS=108.170.220.59
33 MONITORING_IMAGE=backports-debian-7-wheezy-v20140331
34 MONITORING_MACHINE_TYPE=n1-standard-1
31 35
32 # rebaseline_server names, type and their IP addresses to use for each zone. 36 # rebaseline_server names, type and their IP addresses to use for each zone.
33 VM_REBASELINESERVER_NAMES=${VM_REBASELINESERVER_NAMES:="rebaseline-server-1"} 37 VM_REBASELINESERVER_NAMES=${VM_REBASELINESERVER_NAMES:="rebaseline-server-1"}
34 REBASELINESERVER_MACHINE_TYPE="g1-small" 38 REBASELINESERVER_MACHINE_TYPE="g1-small"
35 REBASELINESERVER_IP_ADDRESSES_a="108.170.220.121" 39 REBASELINESERVER_IP_ADDRESSES_a="108.170.220.121"
36 REBASELINESERVER_IP_ADDRESSES_b=$REBASELINESERVER_IP_ADDRESSES_a 40 REBASELINESERVER_IP_ADDRESSES_b=$REBASELINESERVER_IP_ADDRESSES_a
37 41
38 # The Skia buildbot GCE image name. 42 # The Skia buildbot GCE image name.
39 SKIA_BUILDBOT_IMAGE_NAME_V1="skia-buildbot-image-v1" 43 SKIA_BUILDBOT_IMAGE_NAME_V1="skia-buildbot-image-v1"
40 44
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 # https://code.google.com/apis/console/?pli=1#project:31977622648:overview 85 # https://code.google.com/apis/console/?pli=1#project:31977622648:overview
82 PROJECT_ID="google.com:skia-buildbots" 86 PROJECT_ID="google.com:skia-buildbots"
83 87
84 # The user id which owns the server on the vm instance 88 # The user id which owns the server on the vm instance
85 PROJECT_USER="default" 89 PROJECT_USER="default"
86 90
87 # gcutil commands. 91 # gcutil commands.
88 GCUTIL=`which gcutil` 92 GCUTIL=`which gcutil`
89 GCOMPUTE_CMD="$GCUTIL --cluster=prod --project=$PROJECT_ID" 93 GCOMPUTE_CMD="$GCUTIL --cluster=prod --project=$PROJECT_ID"
90 GCOMPUTE_SSH_CMD="$GCOMPUTE_CMD ssh --ssh_user=$PROJECT_USER" 94 GCOMPUTE_SSH_CMD="$GCOMPUTE_CMD ssh --ssh_user=$PROJECT_USER"
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698