[Buildbot-commits] [Buildbot] #2506: Add lock for a group of slaves

Buildbot trac trac at buildbot.net
Wed Jun 5 00:58:53 UTC 2013


#2506: Add lock for a group of slaves
------------------------+------------------------
Reporter:  A1kmm        |       Owner:
    Type:  enhancement  |      Status:  new
Priority:  major        |   Milestone:  undecided
 Version:  master       |  Resolution:
Keywords:  locks        |
------------------------+------------------------
Changes (by dustin):

 * cc: dwlocks (added)


Comment:

 We solved something similar at Zmanda, where we ran builders on a
 massively oversubscribed ESXi host.  There were a dozen or more VMs, but
 realistically only two could build at once.  What we did is to customize
 the buildslave's `canStartBuild` method.  The only tricky bit is that you
 need to call `master.botmaster.maybeStartBuildsForSlave` any time a slave
 might be able to start a build (so, when a build on another slave on the
 same ESXi host finishes).

 Dan Locks may be able to share some of this config with you.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2506#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list