blob: 76e2403765dae5e9e17eb89280406dd199033f9f [file] [log] [blame]
# This file contains llgo's configuration for the buildbot-slave Juju charm.
# The slave is deployed with the following command in a Juju environment:
# juju deploy cs:~axwalk/buildbot-slave --config buildslave-config.yaml
# The charm generates a random password on first run, in the file
# /srv/buildbot/password. If the password is regenerated, it must
# be updated in the buildbot master.
name: llgo-builder
admin-info: Andrew Wilkins <>
apt-packages: subversion git cmake gcc g++ gccgo python-dev
pip-versions: sqlalchemy==0.7.9 buildbot==0.8.5 buildbot_slave==0.8.5 twisted==12.0.0
post-install: |
# Fetch, build and install Ninja.
rm -fr /tmp/ninja
cd /tmp && git clone git://
cd /tmp/ninja && ./ --bootstrap
cp /tmp/ninja/ninja /usr/local/bin
# Fetch and unpack Go.
cd /tmp && wget
sha1sum <<EOF
5020af94b52b65cc9b6f11d50a67e4bae07b0aff go1.4.2.linux-amd64.tar.gz
cd /usr/local && tar xzf /tmp/go1.4.2.linux-amd64.tar.gz
ln -f -s /usr/local/go/bin/go /usr/local/bin/go