[Buildbot-devel] User Question: 1 builder -> 2 buildslaves
ludovic at chabant.com
Sat May 18 16:44:54 UTC 2013
On Sat, May 18, 2013 at 8:24 AM, sergio borghese
<sergio.borghese at gmail.com>wrote:
> When the SVNPoller notice something has changed in the repo, I was
> expecting the build process to start on both hosts, to test the build on
> both O.S.
> It seams the build process starts only on one of the slaves instead, and
> the one that is started seem random (I did not see a pattern)
Yes, you just declare what builders *can* run on what buildslaves, so that
buildbot can do a bit of logic for distributing builds across buildslaves
when lots of events come in (load balancing, etc).
If you have 2 builders that are not completely equivalent (they do the same
thing but must run on different OSes), the easiest way to handle that would
be to, in fact, create 2 builders. Because the master.cfg file is a regular
Python file, you can have a bit of logic to generate the same builder
instance or builder factory twice. Then you can link one builder to one
slave, and the other to the other slave. Then you trigger both builders
from your scheduler.
l u d o .
. 8 0 17 80
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel