blob: fc9b6c4354c7124b1cd456412732b85343462adf [file] [log] [blame]
#labels Contents-Draft,Importance-Useful,Phase-Deploy
#Summary This page documents how to setup a buildbot for Melange.
= Introduction =
Buildbot is an open source framework for automating software build, test run, and release. At Melange, we're using buildbot for these automations. The instructions are for a mint clean debian based machine, however due to various choices made in this page, the instructions shouldn't be a lot different for other distros.
= Instructions =
{{{
$ wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
$ sudo python get-pip.py
$ sudo pip install virtualenv
$ sudo apt-get update
$ sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev python-lxml python-dev
$ cd; mkdir buildbot; cd buildbot;
$ virtualenv venv; cd venv; . bin/activate
$ pip install buildbot buildbot-slave
$ buildbot create-master master
$ mv master/master.cfg.sample master/master.cfg
# Let's see if the everything is in order as of now.
$ buildbot master start; tail -f master/twistd.log
# If the logs appear okay, we're good to go!
# Let's create a slave, and see if it's running okay.
$ cd ~/venv; buildslave create-slave slave localhost:9989 example-slave pass
$ buildslave start slave; tail -f slave/twistd.log
}}}
Add your content here. Format your content with:
* Text in *bold* or _italic_
* Headings, paragraphs, and lists
* Automatic links to other wiki pages