[Buildbot-devel] Reconfiguring buildbot via SVN checkins?

Charles Lepple clepple at gmail.com
Wed Feb 6 03:14:22 UTC 2008


On Feb 5, 2008 10:00 PM, Sergey A. Lipnevich <sergey at optimaltec.com> wrote:
>
> Charles Lepple wrote:
> > Has anyone ever set up buildbot so that the master.cfg (and any
> > supporting modules) are under version control, where checking in a new
> > version reconfigures the buildmaster?
> >
> > This isn't a critical need by any means, but I figured that it might
> > be handy since buildbot is already watching the repository.
> >
> > I suspect that there may be some race conditions involved, so I'm
> > curious if anyone has tried this already.
>
> Hi Charles,
>
> I keep configuration in Subversion, test changes on my PC and then
> update a production box. Buildbot master doesn't keep master.cfg open
> while it runs, and will not reread it automatically, so until you either
> restart the process or send it a proper signal (not available on
> Windows), the latest configuration will not take effect.
> HTH,

I should have been more explicit - I already keep the files in SVN,
and reconfigure manually, but I am interested if anyone has run across
any gotchas when the signal to reconfigure is being triggered by a SVN
commit.

I'm sure I am overlooking some other details, such as how to easily
get the twistd.log files into the build status for whatever
builder/scheduler pair is watching that part of the SVN tree.

-- 
- Charles Lepple




More information about the devel mailing list