[Buildbot-devel] splitting master.cfg
Charles Lepple
clepple at gmail.com
Fri Nov 14 00:12:30 UTC 2008
On Nov 13, 2008, at 11:22 AM, Vikki Finnan wrote:
> The one thing I don't like about the solution to
> execfile('buildsteps.py') is that when I reload the buildmaster, any
> builder which depends upon buildsteps.py will show an updated
> configuration.
The "updated configuration" message is essentially unavoidable, but
you can limit it so that only the changed builders show that message.
Simply split the build steps up such that steps specific to builder A
are in buildsteps_A.py, etc.
The conditional reload code that I posted earlier is the second
portion of the equation. Only the files which have been changed will
be reloaded. The only caveat is that the buildmaster user ID needs
write privileges to that directory to write the .pyc file when
the .py file changes.
There is also the "show_events=false" addition to the waterfall URL -
see the "[help]" link at the bottom of the waterfall page for details.
--
Charles Lepple
clepple at gmail
More information about the devel
mailing list