[Buildbot-devel] triggering a build on a particular slave

Vitali Lovich vlovich at gmail.com
Wed Jan 28 17:30:22 UTC 2015


Oh - sweet.  Thanks!

-Vitali

> On Jan 28, 2015, at 8:43 AM, Pierre Tardy <tardyp at gmail.com> wrote:
> 
> Hi vitali,
> 
> You can achive that by setting a "allowed_slave" property in your trigger step, and customize a "canStartBuild" callback of your builder configuration.
> http://buildbot.readthedocs.org/en/latest/manual/cfg-builders.html#builder-configuration <http://buildbot.readthedocs.org/en/latest/manual/cfg-builders.html#builder-configuration>
> 
> Le Wed Jan 28 2015 at 5:14:42 PM, Vitali Lovich <vlovich at gmail.com <mailto:vlovich at gmail.com>> a écrit :
> Hi,
> 
> I’m trying to set something up but I’m not sure if it’s possible (or perhaps there’s a better suggestion).
> I’m trying to create a generic trigger step & then have a project fire a trigger N times.  I have that part working.
> The part I’m trying to solve is that sometimes I want to restrict the set of slaves for a particular trigger.
> In other words, a project might say “trigger a build with this property & restrict it to machine X”.
> 
> Background:
> I have a post-merge build that checks out master & queries it for the next steps to run.
> This triggers a generic step that does the same except it gives the project back the parameters it gave from the query.
> The idea is that I can run N post-merge tasks that are parallelized.
> 
> For example, it might be requested to run very expensive regression tests as well as build & tests in a deployment environment.
> The idea is the project can request an arbitrary list of tasks.  The expensive regression test we want to limit to a particular machine whereas
> all the other steps we can just grab from the pool of available slaves.
> 
> Thanks,
> Vitali
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/ <http://goparallel.sourceforge.net/>
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net <mailto:Buildbot-devel at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel <https://lists.sourceforge.net/lists/listinfo/buildbot-devel>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150128/f0df193f/attachment.html>


More information about the devel mailing list