Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 11e66bb

Browse files
committedApr 8, 2015
[llgo] add buildbot-slave config
Summary: This patch adds the configuration used to deploy the llgo-builder buildbot slave. The builder is deployed to Google Compute Engine using Juju. Reviewers: pcc Reviewed By: pcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8854 llvm-svn: 234383
1 parent 1e61bbf commit 11e66bb

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
 

‎llgo/buildslave-config.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This file contains llgo's configuration for the buildbot-slave Juju charm.
2+
#
3+
# The slave is deployed with the following command in a Juju environment:
4+
# juju deploy cs:~axwalk/buildbot-slave --config buildslave-config.yaml
5+
#
6+
# The charm generates a random password on first run, in the file
7+
# /srv/buildbot/password. If the password is regenerated, it must
8+
# be updated in the buildbot master.
9+
#
10+
buildbot-slave:
11+
name: llgo-builder
12+
master: lab.llvm.org:9990
13+
admin-info: Andrew Wilkins <axwalk@gmail.com>
14+
apt-packages: subversion git cmake gcc g++ gccgo python-dev
15+
pip-versions: sqlalchemy==0.7.9 buildbot==0.8.5 buildbot_slave==0.8.5 twisted==12.0.0
16+
post-install: |
17+
#!/bin/bash
18+
#
19+
# Fetch, build and install Ninja.
20+
rm -fr /tmp/ninja
21+
cd /tmp && git clone git://github.com/martine/ninja.git
22+
cd /tmp/ninja && ./configure.py --bootstrap
23+
cp /tmp/ninja/ninja /usr/local/bin
24+
# Fetch and unpack Go.
25+
cd /tmp && wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz
26+
sha1sum <<EOF
27+
5020af94b52b65cc9b6f11d50a67e4bae07b0aff go1.4.2.linux-amd64.tar.gz
28+
EOF
29+
cd /usr/local && tar xzf /tmp/go1.4.2.linux-amd64.tar.gz
30+
ln -f -s /usr/local/go/bin/go /usr/local/bin/go
31+

0 commit comments

Comments
 (0)
Please sign in to comment.