[Buildbot-devel] Big fat buildbot example

Dustin J. Mitchell dustin at v.igoro.us
Tue Nov 6 02:31:55 UTC 2012


On Mon, Nov 5, 2012 at 5:49 AM, Pierre Tardy <tardyp at gmail.com> wrote:
> 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

This is a great idea.  We do something similar with the metabuildbot:
  https://github.com/buildbot/metabbotcfg/blob/master/slaves.py#L191

The details of how this is done in metabuildbot are probably not
something you should duplicate (using object attributes is probably a
poor choice, due to the risk of collisions).

Dustin




More information about the devel mailing list