[Buildbot-devel] Using environment on the slave side
Stefan Seefeld
seefeld at sympatico.ca
Thu Sep 28 22:04:50 UTC 2006
Mateusz Loskot wrote:
> I set a requirement for all buildslave instances, to define environment
> variable BUILHOME - absolute path to buildslave directory.
> The idea is to make build steps working on all buildslaves,
> all machines and systems *without* much configuring them,
> just one env variable.
As it is important to control the development / runtime environment seen by
the slaves, I simply make sure the environment that is seen during slave process
creation is what I need it to be. This can be done by modifying the respective slave
buildbot.tac files. Alternatively, you could enforce a particular way to start twistd,
such as by means of a Makefile that controls all environment variables.
I have got burned a number of times when accidentally paths
(notably PATH and LD_LIBRARY_PATH) slipped in during initialization
and thus modified the way the slave would run its builder steps.
FWIW,
Stefan
--
...ich hab' noch einen Koffer in Berlin...
More information about the devel
mailing list