[Buildbot-devel] How to start builds on multiple buildslaves at the same time?

Evan Driscoll driscoll at cs.wisc.edu
Thu May 19 17:59:09 UTC 2011


On 05/19/2011 12:35 PM, Keith Nicewarner wrote:
> Please pardon me for being a buildbot novice, but how would I go about
> creating a builder that triggers a list of other builders?

Check out this section of the manual; it's got an example for you.

http://buildbot.net/buildbot/docs/latest/Triggerable-Scheduler.html#Triggerable-Scheduler

I'm a novice too, but following that example was pretty easy for me.

In short, I think you'll make one new schedulers and one new builder. 
The scheduler will be a Triggerable and will have a builders attribute 
of all of your existing builders you want to run. The builder will just 
have one "Trigger" step that activates the new scheduler.

(This can makes a couple other things nicer too: if you have other 
schedulers that you want to trigger builds on all configurations, say 
one that watches for changes and one that does it periodically, they can 
just use the new builder name instead of listing out all the 
configurations again.)

Evan


>
> *From:*Amber Yust [mailto:ayust at yelp.com]
> *Sent:* Thursday, May 19, 2011 10:29 AM
> *To:* Keith Nicewarner
> *Cc:* buildbot-devel at lists.sourceforge.net
> *Subject:* Re: [Buildbot-devel] How to start builds on multiple
> buildslaves at the same time?
>
> Create a builder that triggers them all?
>
> ~Amber
>
> On Thu, May 19, 2011 at 10:21 AM, Keith Nicewarner
> <Keith.Nicewarner at spacex.com <mailto:Keith.Nicewarner at spacex.com>> wrote:
>
> Ugh – but then to do a force-build on each platform, I’d have to click
> the button N times. Is there a way to have all the builders trigger off
> the same force-build request?
>
> *From:*Amber Yust [mailto:ayust at yelp.com <mailto:ayust at yelp.com>]
> *Sent:* Thursday, May 19, 2011 9:54 AM
> *To:* Keith Nicewarner
> *Cc:* buildbot-devel at lists.sourceforge.net
> <mailto:buildbot-devel at lists.sourceforge.net>
> *Subject:* Re: [Buildbot-devel] How to start builds on multiple
> buildslaves at the same time?
>
> No, but what you can do is have multiple builders use the same build
> factory, so that you don't have to repeat the specification of the steps.
>
> ~Amber (sent from Droid, please forgive any typos!)
>
> On May 19, 2011 9:33 AM, "Keith Nicewarner" <Keith.Nicewarner at spacex.com
> <mailto:Keith.Nicewarner at spacex.com>> wrote:
>  > We might be abusing buildbot, but here's what we need to do. We have
> the exact same source code that we want to build on different
> platforms/toolchains. We cannot always easily use cross-compiling on a
> single platform. On each platform, the checkout, build, and test steps
> are completely identical. At first I thought setting up multiple
> buildslaves for the same builder would do the trick, but then I realized
> that the list is treated as a buildslave pool and it will only select
> one to build on. Is there an easy way to have a builder cause multiple
> buildslaves to start building at the same time?
>  >
>  > Thanks.
>  > Keith.
>  >
>
>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
>
>
>
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel





More information about the devel mailing list