[Buildbot-devel] [buildbot-devel] can a slave step purposely cause master to do reconfig?

Dustin J. Mitchell dustin at zmanda.com
Fri Jun 26 16:07:21 UTC 2009


On Fri, Jun 26, 2009 at 11:37 AM, Mike Winter
(miwinter)<miwinter at cisco.com> wrote:
> If its possible in normal channels please indicate method.
>
> Is there a PB method for this purpose from some arbitrary client?

No, and that would be a very, very bad idea anyway.  Reconfig is like
trying to change your underwear with your pants on, while jogging.
Buildbot is pretty good at it, all things considered, but it's not the
kind of thing you want happening in an unattended context.

If I recall, you want to dynamically alter build factories on a
per-build basis.  I think the simplest course will be for you to hack
such functionality into the buildmaster by editing build.steps on the
fly.  Note that build.steps is generated from build.stepFactories by
Build.setupBuild.

Dustin

P.S., this is one of the reasons I want to switch from representing a
build as a sequence of steps (which gives you no flow control save the
haltOnFailure except alwaysRun flags) to representing it as a function
in some convenient programming language like, say, Python.

-- 
Open Source Storage Engineer
http://www.zmanda.com




More information about the devel mailing list