[Buildbot-devel] Specifying multiple SlaveBuilders in a BuildSlave?

Marcus Lindblom macke at yar.nu
Tue May 19 08:15:33 UTC 2009



gforce hater wrote:
> Hi,
> 
> I'm using buildbot 0.7.7 and referring to this version of the buildbot documentation:
>     http://djmitche.github.com/buildbot/docs/0.7.7/#Buildmaster-Architecture
> 
> The diagram at the bottom of this section:
>     http://djmitche.github.com/buildbot/docs/0.7.7/images/slavebuilder.png
> shows two SlaveBuilders existing inside the BuildSlave.
> 
> Is this something I can configure in the master.cfg file or buildbot.tac file?
> Do I need to configure just the slave? Or both the slave and master?
> 
> I wanted to know if I could have multiple builds running simultaneously on one slave. 
> The use case is, if 10 checkins come in at once, I want to run a build with the first 5 checkins, and a second build with the next 5 checkins at approximately the same time.
> 
> I had assumed the way to do this is to setup multiple SlaveBuilders within the BuildSlave per the diagram in the documentation. 
> I'd appreciate if someone could point me in the right direction on how to do this.

You can specify max_builds=5 when creating the BuildSlave.

See end of 
http://djmitche.github.com/buildbot/docs/0.7.10/#Buildslave-Specifiers

Cheers,
/Marcus





More information about the devel mailing list