[Buildbot-devel] Clean environment on build slaves

Greg Ward greg at gerg.ca
Wed Oct 19 01:53:01 UTC 2011


On Tue, Oct 18, 2011 at 12:54 AM, BRM <bm_witness at yahoo.com> wrote:
> Or run the slave as a specific user that has its own environment settings -
> settings that are managed and can be kept clean.
> That can be done on any platform - OS X, *nix, and Windows.

I already do that. The problem, as I explained in my original post, is
that the environment the slave daemon has when started by cron
(@reboot) is different from what it gets if I SSH to the slave and run
"buildbot restart $slavedir". This is just a fundamental problem with
cron vs interactive logins on Unix/Linux, and I was hoping BuildBot
already had a good workaround.

Sounds like it doesn't, so we've cobbled together a custom wrapper
script. Seems to be working so far.

Thanks for all the suggestions!

Greg




More information about the devel mailing list