[Buildbot-devel] one-time locks?

Robert Helmer rhelmer at mozilla.com
Mon Nov 6 21:24:46 UTC 2006


I have been reading the docs for the MasterLock/SlaveLock classes, they 
are close to what I need but not quite :)

What I'd like is to have a set of builders like so:


If there is a checkin, I'd like the first available server to do the 
build. If I do not use a MasterLock, then all available servers do the 
build in parallel; if I use a MasterLock, then they all do the build 
serially :)

What I really need is for the first available server to do the build, 
and the others don't need to do anything (until there is a new checkin). 
Am I approaching this correctly? :)

I need to do more complicated variations in the future, but for now I'd 
be happy if I can get this going.


More information about the devel mailing list