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

Side by Side Diff: compute_engine_scripts/buildbots/vm_setup_utils.sh

Issue 1238893003: More symlinks for coverage bots (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 5 years, 5 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 | « no previous file | 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 # Utility functions for the Skia GCE setup scripts. 3 # Utility functions for the Skia GCE setup scripts.
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 8
9 function install_packages { 9 function install_packages {
10 # Add new packages that are not yet part of the image below. 10 # Add new packages that are not yet part of the image below.
(...skipping 12 matching lines...) Expand all
23 || FAILED="$FAILED InstallPackages" 23 || FAILED="$FAILED InstallPackages"
24 echo 24 echo
25 } 25 }
26 26
27 function setup_symlinks { 27 function setup_symlinks {
28 # Add new symlinks that are not yet part of the image below. 28 # Add new symlinks that are not yet part of the image below.
29 echo 29 echo
30 echo "Setup Symlinks" 30 echo "Setup Symlinks"
31 $GCOMPUTE_CMD ssh --ssh_user=$PROJECT_USER $INSTANCE_NAME \ 31 $GCOMPUTE_CMD ssh --ssh_user=$PROJECT_USER $INSTANCE_NAME \
32 "sudo ln -s -f /usr/bin/clang-3.6 /usr/bin/clang && " \ 32 "sudo ln -s -f /usr/bin/clang-3.6 /usr/bin/clang && " \
33 "sudo ln -s -f /usr/bin/clang++-3.6 /usr/bin/clang++" \ 33 "sudo ln -s -f /usr/bin/clang++-3.6 /usr/bin/clang++ && " \
34 "sudo ln -s -f /usr/bin/llvm-cov-3.6 /usr/bin/llvm-cov && " \
35 "sudo ln -s -f /usr/bin/llvm-profdata-3.6 /usr/bin/llvm-profdata" \
34 || FAILED="$FAILED InstallPackages" 36 || FAILED="$FAILED InstallPackages"
35 echo 37 echo
36 } 38 }
37 39
38 function install_go { 40 function install_go {
39 GO_VERSION="go1.4.2.linux-amd64" 41 GO_VERSION="go1.4.2.linux-amd64"
40 echo 42 echo
41 echo "Install Go" 43 echo "Install Go"
42 $GCOMPUTE_CMD ssh --ssh_user=$PROJECT_USER $INSTANCE_NAME \ 44 $GCOMPUTE_CMD ssh --ssh_user=$PROJECT_USER $INSTANCE_NAME \
43 "wget https://storage.googleapis.com/golang/$GO_VERSION.tar.gz && " \ 45 "wget https://storage.googleapis.com/golang/$GO_VERSION.tar.gz && " \
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 } 132 }
131 133
132 function reboot { 134 function reboot {
133 echo 135 echo
134 echo "===== Rebooting the instance ======" 136 echo "===== Rebooting the instance ======"
135 $GCOMPUTE_CMD ssh --ssh_user=$PROJECT_USER $INSTANCE_NAME \ 137 $GCOMPUTE_CMD ssh --ssh_user=$PROJECT_USER $INSTANCE_NAME \
136 "sudo reboot" \ 138 "sudo reboot" \
137 || FAILED="$FAILED Reboot" 139 || FAILED="$FAILED Reboot"
138 echo 140 echo
139 } 141 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698