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

Side by Side Diff: perf/server/setup/continue_install

Issue 335183002: Fixing install and OAuth (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: rebase 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
« no previous file with comments | « perf/server/perf.go ('k') | perf/server/setup/perf_setup.sh » ('j') | 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 # Don't execute this script directly, instead it is copied into the perf 3 # Don't execute this script directly, instead it is copied into the perf
4 # user's directory and executed as the user perf by the perf_setup.sh 4 # user's directory and executed as the user perf by the perf_setup.sh
5 # script. 5 # script.
6 # 6 #
7 # See the README file for detailed installation instructions. 7 # See the README file for detailed installation instructions.
8 cd 8 cd
9 pwd 9 pwd
10 10
11 # Install Go 11 # Install Go
12 if [ -d go ]; then 12 if [ -d go ]; then
13 echo Go already installed. 13 echo Go already installed.
14 else 14 else
15 wget https://go.googlecode.com/files/go1.2.1.linux-amd64.tar.gz 15 wget https://go.googlecode.com/files/go1.2.1.linux-amd64.tar.gz
16 tar -xzf go1.2.1.linux-amd64.tar.gz 16 tar -xzf go1.2.1.linux-amd64.tar.gz
17 fi 17 fi
18 18
19 19
20 if [ -d buildbot]; then 20 if [ -d buildbot ]; then
21 (cd buildbot && git pull); 21 (cd buildbot && git pull);
22 else 22 else
23 git clone https://skia.googlesource.com/buildbot 23 git clone https://skia.googlesource.com/buildbot
24 fi 24 fi
25 25
26 if [ -d skia ]; then
27 (cd skia && git pull);
28 else
29 git clone https://skia.googlesource.com/skia
30 fi
31
26 mkdir=$HOME/golib 32 mkdir=$HOME/golib
27 export GOROOT=$HOME/go 33 export GOROOT=$HOME/go
28 export GOPATH=$HOME/golib 34 export GOPATH=$HOME/golib
29 export PATH=$PATH:$GOROOT/bin 35 export PATH=$PATH:$GOROOT/bin
30 36
31 cd ~/buildbot/perf/server 37 cd ~/buildbot/perf/server
32 go get -d 38 go get -d
33 go build perf.go 39 go build -o perf
OLDNEW
« no previous file with comments | « perf/server/perf.go ('k') | perf/server/setup/perf_setup.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698