Reputation: 4938
I have a buildbot 0.8.6p1 configured. There is one master and one slave, so far. It is possible to configure several slaves:
c['slaves'] = [
BuildSlave("eng-hwsim-n1", "123")
BuildSlave("eng-hwsim-n2", "123")
]
It is also possible to add slave
or slaves
to the array of builders:
c['builders'].append(
BuilderConfig(name="runnightly-top",
slavenames=["eng-hwsim-n1", "eng-hwsim-n2"],
factory=fac_nightly_top,
builddir='../../runnightly-top',
slavebuilddir='runnightly-top'))
In this case, will buildbot run the same builder on all slaves or one of the slaves? Is there a way to configure buildbot to run a builder on one of the slaves, whichever is available/least loaded/etc?
Thanks so much.
Upvotes: 2
Views: 772
Reputation: 2632
The builder will only build with one slave from the pool of slaves. If I understand correctly, this is the behavior you desire.
Upvotes: 1