[Buildbot-devel] Buildbot 1.0: The Shimmering Vision
Ben Hearsum
bhearsum at mozilla.com
Tue Aug 12 15:18:49 UTC 2008
This is more of a Python issue than a Buildbot one. One way to work
around it is to import/reload, like this:
import buildbot.process.factory
reload(buildbot.process.factory)
from buildbot.process import factory
It sucks that it takes up so much space, especially when you import
from many modules, but it does the trick. We use this to load all of
our custom Buildbot code.
- Ben
On 12-Aug-08, at 11:16 AM, Neil Hemingway wrote:
> If all I've changed is the build config, then yes a reconfig will do
> the trick, but I'm trying to upgrade bb from 0.7.6 to 0.7.8 and this
> will require shutting everything down cleanly, and then restarting
> with the new code.
>
> 2008/8/12 Dustin J. Mitchell <dustin at zmanda.com>
> On Tue, Aug 12, 2008 at 6:26 AM, Neil Hemingway
> <neil.hemingway at googlemail.com> wrote:
> > I have a problem at the moment, where there are so many builds
> going on that
> > our (single) slave is always busy, so I cannot perform a graceful
> restart
> > without disrupting a build. It would be nice if there were a way
> of telling
> > bb to quiesce (the system/a slave) in preparation for a restart.
> It should
> > still monitor and accept new build requests, but not start them
> (at all/on
> > that slave) until (the system/the slave) has been restarted.
>
> This would seem to duplicate the "reload" functionality which already
> exists -- you should be able to reload your buildmaster while a build
> is running, and have the *next* build start using the new
> configuration. My thinking is that, while difficult to implement,
> this graceful-restart is a very useful feature that we should keep and
> make fundamental to bbot's operation.
>
> Thanks for adding your suggestions :)
>
> Dustin
>
> --
> Storage Software Engineer
> http://www.zmanda.com
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
More information about the devel
mailing list