Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # This file contains constants for the shell scripts which interact | 1 # This file contains constants for the shell scripts which interact |
| 2 # with the Google Compute Engine instances. | 2 # with the Google Compute Engine instances. |
| 3 | 3 |
| 4 GCUTIL=`which gcutil` | 4 GCUTIL=`which gcutil` |
| 5 | 5 |
| 6 # The base names of the VM instances. Actual names are VM_NAME_BASE+name+zone | 6 # The base names of the VM instances. Actual names are VM_NAME_BASE+name+zone |
| 7 VM_NAME_BASE=${VM_NAME_BASE:='skia'} | 7 VM_NAME_BASE=${VM_NAME_BASE:='skia'} |
| 8 | 8 |
| 9 VM_MASTER_NAMES=${VM_MASTER_NAMES:="master"} | 9 VM_MASTER_NAMES=${VM_MASTER_NAMES:="master"} |
| 10 VM_SLAVE_NAMES=${VM_SLAVE_NAMES:="housekeeping-slave compile1 compile2 compile3 compile4 compile5"} | 10 VM_SLAVE_NAMES=${VM_SLAVE_NAMES:="housekeeping-slave compile1 compile2 compile3 compile4 compile5"} |
| 11 VM_NAMES="${VM_MASTER_NAMES} ${VM_SLAVE_NAMES}" | 11 VM_NAMES="${VM_MASTER_NAMES} ${VM_SLAVE_NAMES}" |
| 12 | 12 |
| 13 | 13 |
| 14 REQUIRED_FILES_FOR_SLAVES=(~/.autogen_svn_username \ | 14 REQUIRED_FILES_FOR_SLAVES=(~/.autogen_svn_username \ |
| 15 ~/.autogen_svn_password \ | 15 ~/.autogen_svn_password \ |
| 16 ~/.skia_svn_username \ | 16 ~/.skia_svn_username \ |
| 17 ~/.skia_svn_password \ | 17 ~/.skia_svn_password \ |
| 18 ~/.boto \ | 18 ~/.boto) |
| 19 ~/.boto_cros) | |
|
borenet
2013/06/26 20:06:28
This should have already been removed...
| |
| 20 | 19 |
| 21 REQUIRED_FILES_FOR_MASTERS=(~/.code_review_password \ | 20 REQUIRED_FILES_FOR_MASTERS=(~/.code_review_password \ |
| 22 ~/.status_password) | 21 ~/.status_password) |
| 23 | 22 |
| 24 # The (Shared Fate) Zone is conceptually equivalent to a data center cell. VM | 23 # The (Shared Fate) Zone is conceptually equivalent to a data center cell. VM |
| 25 # instances live in a zone. | 24 # instances live in a zone. |
| 26 # | 25 # |
| 27 # We flip the default one as required by PCRs in bigcluster. We are allowed | 26 # We flip the default one as required by PCRs in bigcluster. We are allowed |
| 28 # us-east1-a, us-east1-b and us-east1-c. | 27 # us-east1-a, us-east1-b and us-east1-c. |
| 29 # A short tag to use as part of the VM instance name | 28 # A short tag to use as part of the VM instance name |
| 30 ZONE_TAG=${ZONE_TAG:=b} | 29 ZONE_TAG=${ZONE_TAG:=b} |
| 31 ZONE=us-central1-$ZONE_TAG | 30 ZONE=us-central1-$ZONE_TAG |
| 32 | 31 |
| 33 # The size of the persistent disk (in GB) for all created VMs. | 32 # The size of the persistent disk (in GB) for all created VMs. |
| 34 DISK_SIZE=20 | 33 DISK_SIZE=20 |
| 35 | 34 |
| 36 # The Project ID is found in the Compute tab of the dev console. | 35 # The Project ID is found in the Compute tab of the dev console. |
| 37 # https://code.google.com/apis/console/?pli=1#project:31977622648:overview | 36 # https://code.google.com/apis/console/?pli=1#project:31977622648:overview |
| 38 PROJECT_ID='google.com:skia-buildbots' | 37 PROJECT_ID='google.com:skia-buildbots' |
| 39 | 38 |
| 40 # The user id which owns the server on the vm instance | 39 # The user id which owns the server on the vm instance |
| 41 PROJECT_USER="default" | 40 PROJECT_USER="default" |
| 42 | 41 |
| 43 GCOMPUTE_CMD="$GCUTIL --cluster=prod --project=$PROJECT_ID" | 42 GCOMPUTE_CMD="$GCUTIL --cluster=prod --project=$PROJECT_ID" |
| 44 GCOMPUTE_SSH_CMD="$GCOMPUTE_CMD ssh --ssh_user=$PROJECT_USER" | 43 GCOMPUTE_SSH_CMD="$GCOMPUTE_CMD ssh --ssh_user=$PROJECT_USER" |
| OLD | NEW |