[Buildbot-devel] Big fat buildbot example

Pierre Tardy tardyp at gmail.com
Mon Nov 5 10:49:52 UTC 2012


I like it. I'm working on similar stuff also, but it is not yet ready for
publication.

Looking at your code, I can find good concepts that could improve my design.
I'm not really focused on a config system that is simple, but rather one
that put higher level abstraction to the rather low level API of the config.

One of the key problem is the slave managment system. I think you may
improve SimpleConfig to have a generic slave capability system,where each
slave would have a capability dictionary can be a string or a list e.g:
OS = "windows"
supported_test = [ "lint", "selexium"]

Then, the slavemanager can have a function named slaves_by(self, **caps),
that returns the slave names that match the needed capability of the builder

my config manager is not yet ready for publication, but here is the slave
management part:

http://pastebin.mozilla.org/1914696


Pierre


On Mon, Nov 5, 2012 at 2:33 AM, Dan Kegel <dank at kegel.com> wrote:

> On Tue, Oct 30, 2012 at 4:18 PM, Dustin J. Mitchell <dustin at v.igoro.us>
> wrote:
> >> virtualbox explodes when I try running lxc inside it,
> > It'd be great to include that recommendation then..
>
> Done.
>
> I made a first stab at implementing John's simplified config idea:
> https://github.com/dankegel/ciwrap/blob/master/common/SimpleConfig.py
>
> and have split out the list of slaves and branches into a json file, e.g.
> https://github.com/dankegel/ciwrap/blob/master/zlib/config.json
>
> Next I'll probably put some notion of platform into config.json
> so changes get built on the proper platforms.
> - Dan
>
>
> ------------------------------------------------------------------------------
> LogMeIn Central: Instant, anywhere, Remote PC access and management.
> Stay in control, update software, and manage PCs from one command center
> Diagnose problems and improve visibility into emerging IT issues
> Automate, monitor and manage. Do more in less time with Central
> http://p.sf.net/sfu/logmein12331_d2d
> _______________________________________________
> 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/20121105/9a5d4d68/attachment.html>


More information about the devel mailing list