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

Side by Side Diff: compute_engine_scripts/telemetry/vm_create_setup_recreateskps_bot.sh

Issue 199843006: Telemetry instances should now be created with rtb-n1-standard-8-d (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Created 6 years, 9 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
« no previous file with comments | « compute_engine_scripts/telemetry/vm_create_cluster.sh ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # Create and setup the Skia RecreateSKPs GCE instance. 3 # Create and setup the Skia RecreateSKPs GCE instance.
4 # 4 #
5 # Copyright 2014 Google Inc. All Rights Reserved. 5 # Copyright 2014 Google Inc. All Rights Reserved.
6 # Author: rmistry@google.com (Ravi Mistry) 6 # Author: rmistry@google.com (Ravi Mistry)
7 7
8 source vm_config.sh 8 source vm_config.sh
9 9
10 SCOPES="https://www.googleapis.com/auth/devstorage.full_control" 10 SCOPES="https://www.googleapis.com/auth/devstorage.full_control"
11 11
12 for REQUIRED_FILE in ${REQUIRED_FILES_FOR_RECREATESKPS_BOT[@]}; do 12 for REQUIRED_FILE in ${REQUIRED_FILES_FOR_RECREATESKPS_BOT[@]}; do
13 if [ ! -f $REQUIRED_FILE ]; 13 if [ ! -f $REQUIRED_FILE ];
14 then 14 then
15 echo "Please create $REQUIRED_FILE!" 15 echo "Please create $REQUIRED_FILE!"
16 exit 1 16 exit 1
17 fi 17 fi
18 done 18 done
19 19
20 # Create the Skia recreate SKPs instance. 20 # Create the Skia recreate SKPs instance.
21 $GCOMPUTE_CMD addinstance ${VM_RECREATESKPS_BOT_NAME} \ 21 $GCOMPUTE_CMD addinstance ${VM_RECREATESKPS_BOT_NAME} \
22 --zone=$ZONE \ 22 --zone=$ZONE \
23 --external_ip_address=${VM_RECREATESKPS_BOT_IP_ADDRESS} \ 23 --external_ip_address=${VM_RECREATESKPS_BOT_IP_ADDRESS} \
24 --service_account=default \ 24 --service_account=default \
25 --service_account_scopes="$SCOPES" \ 25 --service_account_scopes="$SCOPES" \
26 --network=skia \ 26 --network=skia \
27 --image=skiatelemetry-3-0-v20131101 \ 27 --image=skiatelemetry-3-0-v20131101 \
28 --machine_type=n1-standard-8-d \ 28 --machine_type=rtb-n1-standard-8-d \
29 --nopersistent_boot_disk \ 29 --nopersistent_boot_disk \
30 --service_version=v1beta16 30 --service_version=v1beta16
31 31
32 if [ $? -ne 0 ] 32 if [ $? -ne 0 ]
33 then 33 then
34 echo 34 echo
35 echo "===== There was an error creating the instance. =====" 35 echo "===== There was an error creating the instance. ====="
36 echo 36 echo
37 exit 1 37 exit 1
38 fi 38 fi
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 105
106 SSH into the instance with: 106 SSH into the instance with:
107 gcutil --project=google.com:chromecompute ssh --ssh_user=default ${VM_RECREATE SKPS_BOT_NAME} 107 gcutil --project=google.com:chromecompute ssh --ssh_user=default ${VM_RECREATE SKPS_BOT_NAME}
108 and run the following commands: 108 and run the following commands:
109 * Run the commands from telemetry_master_scripts/vm_recover_slaves_from_crashe s.sh 109 * Run the commands from telemetry_master_scripts/vm_recover_slaves_from_crashe s.sh
110 * cd $SKIA_REPO_DIR 110 * cd $SKIA_REPO_DIR
111 * nohup python buildbot/scripts/launch_slaves.py & 111 * nohup python buildbot/scripts/launch_slaves.py &
112 112
113 INP 113 INP
OLDNEW
« no previous file with comments | « compute_engine_scripts/telemetry/vm_create_cluster.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698