[users at bb.net] Evaluating Buildbot for Parallel Building

Pierre Tardy tardyp at gmail.com
Fri Mar 11 16:36:27 UTC 2016


Hi Ed,

Buildbot is the perfect fit for your usecase, and buildbot nine is an even
better fit (because the UI has great improvement on displaying trigger step)

Indeed, your tricky part is #3, this can be performed via a trigger step,
as you said.
I would advise you to create one builder (say P) for all the variations,
and to parametrise it with properties. Then, you can use dynamic_trigger
create your builds, and choose how you mixup your properties/parameters for
each build
http://docs.buildbot.net/latest/manual/cfg-buildsteps.html#dynamic-trigger

For step 4, just use the waitForFinish=True in the TriggerStep, and it will
wait for the result, and concatenate them so that the result of the step is
the worst result of all the triggered builds.

If you attach your 10 slaves to the P builder, then buildbot will take care
of running all your parallel builds in those 10 slaves, when one finish, it
will take another from the queue.

You can look at buildbot travis, which implement a dynamic trigger step
https://github.com/tardyp/buildbot_travis/blob/master/buildbot_travis/steps/spawner.py

Have fun!
Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160311/c635dce5/attachment.html>


More information about the users mailing list