[Buildbot-devel] Ideas on builds with multiple variants

Dustin J. Mitchell dustin at zmanda.com
Mon Jun 7 15:43:26 UTC 2010


On Mon, Jun 7, 2010 at 7:54 AM, Greg Ward <greg at gerg.ca> wrote:
> Has anyone setup something similiar?  Ideas, thoughts, advice?  Thanks --

You should use virtualenv to isolate all of your different
combinations.  You can see a little bit of how I've used virtualenv
here:
  http://github.com/djmitche/buildbot/tree/metabbotcfg

I would then make a builder for each combination you want to test,
passing whatever parameters are required to the buidlslave.  The
buildslave should fix up a virtualenv sandbox for itself (using a
sandbox it finds already, if the right things are installed), and then
run the tests in that sandbox.

This reduces the need for the slaves to have a particular
configuration, and also means that you can test multiple versions
simultaneously on the same slave, if necessary.

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com




More information about the devel mailing list