[Buildbot-devel] Slave bot environment config
Dustin J. Mitchell
dustin at zmanda.com
Fri Jun 22 15:32:45 UTC 2007
On Fri, Jun 22, 2007 at 10:37:43AM +0100, Paul Thomas wrote:
> I haven't seen anything on configuring the environment on the slaves.
> I have a build that needs to use some utilities that are stored in
> wildly different places on each slave machine. At the moment, I'm
> just writing big catch-all build steps on the master, but I'd rather
> not have to change it each time a slave is added. Is there a simple
> way to set this up? Maybe an environment variable I can reference in
> my build steps?
The general design of buildbot is that slaves have next to zero
configuration, beyond having the software required for a build.
One possibility may be to use build properties to store paths for
certain utilities, with a step early in the factory to look up the paths
(based on botname, architecture, or a command executed on the client).
The other possibility is to download a "setup" script and run it on the
client, with the express purpose of setting up symlinks to these various
utilities in '../bin' (a sibling to the 'build' directory). Then just
reference the utilities in that path.
Dustin
--
Dustin J. Mitchell
Storage Software Engineer, Zmanda, Inc.
http://www.zmanda.com/
More information about the devel
mailing list