[Buildbot-devel] Sharing files (or other info) between slaves

Dustin J. Mitchell dustin at zmanda.com
Thu Jun 28 14:59:36 UTC 2007


On Thu, Jun 28, 2007 at 10:53:02AM -0400, Greg Ward wrote:
> One possibility occurred to me: use FileUpload/FileDownload to
> transfer the names of the buildslaves back and forth.  I.e. on the
> Linux buildslave, do the equivalent of
> 
>   hostname -f > /tmp/blah
> 
> and then use buildbot's FileUpload to send that to the buildmaster.
> On the Windows buildslave, use FileDownload to fetch the hostname of
> the Linux buildslave, and from that construct the URL to the source
> tree tarball.
> 
> It's roundabout, but so far the only way I can think of for
> buildslaves to communicate without sending 200 MB tarballs twice and
> without hardcoding each other's hostnames.
> 
> Any better ideas?

Only that the buildmaster has access to that information (assuming your
buildslaves are named after their hostname), so you might be able to
accomplish a similar thing with a simple Step implementation on the
master.

That said, it sounds like a pretty good solution :)

Dustin

-- 
        Dustin J. Mitchell
        Storage Software Engineer, Zmanda, Inc.
        http://www.zmanda.com/




More information about the devel mailing list