[Buildbot-devel] repo and gerrit support to buildbot

tom fogal tfogal at sci.utah.edu
Tue Sep 28 16:04:22 UTC 2010


Pierre Tardy wrote:
> The test part might be a bit trickier. It is not possible to run the
> test on the same machine as the build.
> Build machines are typically big virtualised servers, and test machine
> are not very power powerful lab machines hooked up to lab equipment
> and targetted hardware.

Given that you're using virtualized servers, you might want to look into 
latent build slaves.  I talked to someone on IRC who was launching a 
guest OS, which started buildbot, did a build, and then shutdown the guest.

> Do you think it possible to use a status object to trigger a change
> event, that can trigger a builder which is actually only tester
> (download result of build and run tests on embedded hw)

I run tests as part of both buildbots I manage.

What you want is definitely possible.  Just use a dependent scheduler 
and have the test build[s] depend on the main build.

If you need to move code from the builder to the tester, use a 
FileUpload at the end of the build factory, and a FileDownload at the 
beginning of the test factory.

You shouldn't need to change buildbot at all for this, it can all be 
done in your configuration[s].

HTH,

-tom




More information about the devel mailing list