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

Side by Side Diff: skolo/raspberry-pi/start_swarming

Issue 2308033002: Update RPIs to use .gitconfig and .netrc (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Fix copypasta Created 4 years, 3 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 | « skolo/raspberry-pi/ansible_scripts/shutdown.yml ('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/sh 1 #!/bin/sh
2 2
3 # Hack to get swarming access to /b 3 # Hack to get swarming access to /b
4 sudo chmod 777 /b 4 sudo chmod 777 /b
5 5
6 # Wait 10s to make sure ssl is fully booted. Otherwise, we get an error 6 # Wait 10s to make sure ssl is fully booted. Otherwise, we get an error
7 # when trying to download the bootstrap code. 7 # when trying to download the bootstrap code.
8 sleep 10s 8 sleep 10s
9 9
10 # Copy authentication to home directory
11 cp /opt/.gitconfig /home/chrome-bot/.gitconfig
12 cp /opt/.netrc /home/chrome-bot/.netrc
13
10 if [ ! -d "/b/s" ]; then 14 if [ ! -d "/b/s" ]; then
11 cd /b 15 cd /b
12 echo "Bootstrapping swarming, expect a reboot" 16 echo "Bootstrapping swarming, expect a reboot"
13 python -c "import urllib; exec urllib.urlopen('https://chromium-swarm.appspot. com/bootstrap').read()" 17 python -c "import urllib; exec urllib.urlopen('https://chromium-swarm.appspot. com/bootstrap').read()"
14 else 18 else
15 echo "Starting swarming" 19 echo "Starting swarming"
16 /usr/bin/python /b/s/swarming_bot.zip start_bot & 20 /usr/bin/python /b/s/swarming_bot.zip start_bot &
17 fi 21 fi
OLDNEW
« no previous file with comments | « skolo/raspberry-pi/ansible_scripts/shutdown.yml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698