[Buildbot-devel] Testing master.cfg before reconfig

Aaron Maxwell amax at snaplogic.org
Tue Jan 22 20:50:52 UTC 2008


Ours is about 1200 lines long, and will get longer.  For sanity, it is split 
up into modules that our master.cfg imports.

One thing we do is just use normal unit tests.  This has obvious limits if you 
want to verify that whole steps work.  But at least in our setup, there is a 
fair amount of external logic in the buildbot config that can be encapsulated 
in unit-testable classes and functions.

Aside from that, we have cloned the whole QA system (of which buildbot is a 
central piece) into development sandboxes.  We can then make whatever changes 
we want to the development buildbot installation without affecting the 
production version.  Not quite what you are asking for, and in fact you may 
do this already, but it's how we handle things.

-Aaron

On Tuesday 22 January 2008 12:30:39 Tristan Hill wrote:
> My master.cfg file is a couple of hundred lines long and I'm looking for
> a way to allow a change to this file to be tested before updating the
> master with a change that may not work.  I'm not sure quite what would
> be ideal but my first idea would be something that would allow running
> one or more build steps from master.cfg offline so they can be seen to
> work.  I saw the post for the config file testing enhancement
> http://buildbot.net/trac/ticket/37 but this doesn't seem to run any
> steps.
>
> Perhaps there's something in the manual I've missed?  What are others
> doing to solve this issue?
>
> TIA
> Tristan
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel



-- 
Aaron Maxwell .:. amax at snaplogic.org .:. http://snaplogic.org
SnapLogic, Inc. - Data Integration for the Last Mile




More information about the devel mailing list