[Buildbot-devel] BuildBot, twisted reactor and dynamic config

Vasily vasslitvinov at pisem.net
Wed Nov 5 09:48:23 UTC 2014


Hi Vitali,

Could you please post some snippets of how your idea works?
Maybe posting it to Buildbot Wiki as well would be great...

Thanks,
Vasily

2014-11-03 21:37 GMT+03:00 Vitali Lovich <vlovich at gmail.com>:

>
> > On Nov 3, 2014, at 10:12 AM, Edward Armes <edward.armes at gmail.com>
> wrote:
> >
> > Hi all,
> >
> > I'm currently using BuildBot in a personal project and I'm looking into
> doing dynamic config.
> >
> > First of all a disclaimer: I know that the documented way of doing this
> is to make a change and then tell BuildBot to restart.
> >
> > That being said I'm currently looking at more complex methods involving
> concurrency and the twisted reactor. However I could do with knowing a few
> more things or knowing the best place to look.
> >
> > 1. Does the BuildBot configuration object store the items in some way
> that would prevent a dynamic dictionary of some form?
> I did something similar, but without a dynamic dictionary (I don’t imagine
> it would work).
> Instead, I just set a custom Build class.  I wanted to allow for a step
> whereby the project could specify it’s own steps (e.g. build source code,
> run tests, etc) instead of the typical way of having a single giant
> shell script.  So I overrode stepDone: if the step that was done was my
> special injection step, I grab the new set of steps and simply extend
> self.steps (actually self.steps.reverse(), self.steps.extend(newSteps),
> self.steps.reverse()).  Then I just delegate to the parent’s stepDone.
>
> This works reasonably well.
>
> > 2. Can all items that use the configuration object handle twisted defer
> objects?
> >
> > 3. How difficult is it to customize and modify the web status to add
> auth (via twisted.cred).
> >
> > 4. Other than the "magic" URL's described in the docs are there any
> other undocumented gotchas to watch out for?
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > Buildbot-devel mailing list
> > Buildbot-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> 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/20141105/29bba2d2/attachment.html>


More information about the devel mailing list