[Buildbot-commits] [Buildbot] #983: single-build buildslaves

Buildbot buildbot-devel at lists.sourceforge.net
Thu Sep 2 20:07:08 UTC 2010


#983: single-build buildslaves
----------------------------+-----------------------------------------------
Reporter:  moschny          |       Owner:           
    Type:  support-request  |      Status:  new      
Priority:  major            |   Milestone:  undecided
 Version:  0.8.1            |    Keywords:           
----------------------------+-----------------------------------------------

Comment(by moschny):

 Replying to [comment:1 dustin]:
 > Slaves can gracefully shut down already, so you can do this by adding a
 custom buildstep that calls the slave's shutdown method.  You'll need to
 do some funny stuff to make sure the master doesn't think that the build
 has failed.

 Seems Mozilla has code for this already:
 http://hg.mozilla.org/build/buildbotcustom/file/buildbot-0.8.0/steps/misc.py#l543
 (thanks to catlee for sharing the link in IRC.)

 > I don't think this is generally useful enough to put into buildbot
 itself.

 This will become more and more useful the easier it becomes to create and
 manage filesystem snapshots (e.g.  using btrfs) or snapshots of complete
 virtual machines (e.g. using libguestfs).

 The best and cleanest way to be sure your build (and test) environment
 hasn't been changed by a previous run, is to throw it away and create a
 fresh one, and buildbot support for this use case will be needed sooner or
 later.

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


More information about the Commits mailing list