The master config is here mostly for others to look at for example. The useful bit is in the slave.
Setting up a build slave
cd slave/ python bootstrap.py
slave/buildout.cfgfor your environment. The version here has configs for a couple of slaves (one that tests against sqlite, and one against PostgreSQL); it's probably easier to start with just a single slave.
See the documentation for the build slave recipe for more info on the build slave options.
Give the slave a good, unique name that'll tell what it is and what it does (i.e.
Make up a slave password.
Make sure the slave environment has
PYTHONPATHset correctly, and make sure that
DJANGO_SETTINGS_MODULEexists and is configured correctly.
Note that the same slave may test multiple branches, so you'll need to make sure that nothing's shared between the slaves. See
testsettings/postgres.pyfor one of the things you'll need to do: set
TEST_DATABASE_NAMEto something that'll be different for each slave.
Create the buildbot by running
./bin/buildoutfrom the slave directory.
Start the slave:
Send the buildbot name and password to jacob -at- jacobian -dot- org to get added to the master.
Watch your buildbot: if it starts failing because of problems on the server it'll get de-listed.