Django CMS's buildbots
Credit goes to Jacob Kaplan-Moss who originally wrote the scripts for Django's buildbot.
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
Edit slave/buildout.cfg for your environment. The version here has configs for a couple of slaves (one that tests against sqlite, mysql 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. debian-5.0_x86-py2.5-sqlite)
Make up a slave password.
- 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.py for one of the things you'll need to do: set TEST_DATABASE_NAME to something that'll be different for each slave.
- Create the buildbot by running ./bin/buildout from the slave directory.
- Start the slave: ./bin/<my-slave-name> start
- Send the buildbot name and password to donald -at- xenofox -dot- com to get added to the master.
- Watch your buildbot: if it starts failing because of problems on the server it'll get de-listed.