[Buildbot-devel] Disposable VM Slaves?

Gary Poster gary.poster at canonical.com
Tue Feb 10 16:28:59 UTC 2009

On Tue, 2009-02-10 at 08:14 -0800, Aleksandr Milewski wrote:
> Does anyone have a good solution for running buildslaves on disposable  
> (immutable/read-only) VMs?
> It came up at Allmydata in the context of installer testing, but I've  
> had two or three conversations in the last month or so where it would  
> be desirable to have a build happen on a pristine VM.
> My thoughts were along the lines of having a 'controller' buildslave  
> that responds to changes by starting a new VM from an immutable image,  
> and a buildslave inside that VM that starts at boot, connects, and  
> finds work.
> Cleanup at the other end is a little less clear, so I'm looking for  
> suggestions there.

It sounds like you might be interested in the EC2LatentBuildSlave I
added recently.  It's in Dustin's master branch on github.  If you don't
want to use EC2, you can subclass the abstract implementation
(AbstractLatentBuildSlave) and follow the basic pattern.


More information about the devel mailing list