Buildbot master/slave on Ubuntu 16.04

Maybe you just want to take a taste of Buildbot on Ubuntu 16.04. In that case you can start from a quick tour like the First run tutorial. It’s cool but a little bit outdated, thus here is an updated version, command by command:

sudo apt-get install -y python-dev
sudo apt-get install -y python-pip
mkdir -p /tmp/buildbot && cd /tmp/buildbot
sudo apt-get install -y virtualenv
virtualenv --no-site-packages sandbox
source sandbox/bin/activate
easy_install sqlalchemy==0.7.10
easy_install buildbot
pip install buildbot-www
pip install buildbot-waterfall-view
pip install buildbot-console-view
buildbot create-master master
mv master/master.cfg.sample master/master.cfg
buildbot start master
easy_install buildbot-slave 
buildslave create-slave slave localhost:9989 example-worker pass
buildslave start slave

The new Buildbot will be available through TCP port 8010.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s