[Buildbot-devel] "join" step?

Pierre Tardy tardyp at gmail.com
Fri Jan 30 08:42:58 UTC 2015


Please look at my example. It does exactly that..

Le ven. 30 janv. 2015 09:40, Vitali Lovich <vlovich at gmail.com> a écrit :

>
> > On Jan 29, 2015, at 3:44 AM, Mikhail Sobolev <mss at mawhrin.net> wrote:
> >
> > On Wed, Jan 28, 2015 at 11:47:05PM -0800, Vitali Lovich wrote:
> >>> On Jan 28, 2015, at 11:43 PM, Mikhail Sobolev <mss at mawhrin.net> wrote:
> >>> On Wed, Jan 28, 2015 at 07:43:37PM -0800, Vitali Lovich wrote:
> >>>> I was hoping to be able to trigger a bunch of schedulers & have them
> run jobs in parallel.
> >>>> Then I was hoping to wait for them all to complete & then do
> something with the result if they succeed.
> >>>>
> >>>> I was wondering if there was any kind of “join” step or if anyone has
> any thoughts on how difficult it would be to accomplish?
> >>>>
> >>>> The other approach is to use dependent schedulers which may work too
> (I just thought triggered schedulers are more elegant).
> >>> One more approach is to use Trigger build step with waitForFinish=True
> >> I know, but that removes the ability for the triggers to run in
> parallel, so I’m stuck waiting for O(a + b + c…) instead of O(max(a, b,
> c,…))
> > I'm sorry, I probably miss something.  Could you please provide a bit
> more detailed example?
> >
> > The way I see it
> >
> >    ...
> >    Trigger(schedulerNames=['a', ..., 'z'], waitForFinish=True)
> >    ...
> >
> > would trigger all those builds in parallel and wait for all of them to
> finish
> > before proceeding with the builder where this step is used.
> Oh - I forgot that you could do multiple schedulers in the trigger.  The
> only problem is that I have to trigger 1 scheduler N times with different
> properties.
> For context, I want to query the repository for the set of parallel tasks
> that I should run post-merge.
> Then I want to trigger the same scheduler N times but with additional
> properties set so that it knows what task needs to be run.
>
> -Vitali
>
> > --
> > Misha
> >
> > ------------------------------------------------------------
> ------------------
> > 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/
> > _______________________________________________
> > Buildbot-devel mailing list
> > Buildbot-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
>
> ------------------------------------------------------------
> ------------------
> 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/
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150130/5e7958be/attachment.html>


More information about the devel mailing list