[Buildbot-commits] [djmitche/buildbot] af2027: Implemented clean master shutdown.

noreply at github.com noreply at github.com
Thu Jun 3 01:19:55 UTC 2010


Branch: refs/heads/master
Home:   http://github.com/djmitche/buildbot

Commit: af2027d83e192483182946dc4ba13f720ce0fc36
    http://github.com/djmitche/buildbot/commit/af2027d83e192483182946dc4ba13f720ce0fc36
Author: Chris AtLee <catlee at mozilla.com>
Date:   2010-06-02 (Wed, 02 Jun 2010)

Changed paths:
  M buildbot/master.py
  M buildbot/status/builder.py
  M buildbot/status/web/authz.py
  M buildbot/status/web/base.py
  M buildbot/status/web/baseweb.py
  M buildbot/status/web/root.py
  M buildbot/status/web/templates/forms.html
  M buildbot/status/web/templates/root.html

Log Message:
-----------
Implemented clean master shutdown.

Has a "Shutdown" button on the root web status page, and a new flag for
the authorization object, "cleanShutdown", that controls if users are
allowed to shut down the master or not.

The master will stop assigning builds to slaves.  Once all the slaves
have finished builds, the master process will terminate.

You are allowed to cancel a shutdown in progress, in which case builds
will resume being assigned to slaves, and the master process will no
longer terminate when idle.

The shutdown can also be initiated via manhole by calling
status.cleanShutdown() and cancelled by status.cancelCleanShutdown()


Commit: f959e4341557ca22a143757b96148703857b6293
    http://github.com/djmitche/buildbot/commit/f959e4341557ca22a143757b96148703857b6293
Author: Chris AtLee <catlee at mozilla.com>
Date:   2010-06-02 (Wed, 02 Jun 2010)

Changed paths:
  M buildbot/master.py
  A buildbot/test/unit/test_master_cleanshutdown.py

Log Message:
-----------
Adding some tests for clean shutdown


Commit: 6ecee51005883ff40228db0080c844ed223e97e2
    http://github.com/djmitche/buildbot/commit/6ecee51005883ff40228db0080c844ed223e97e2
Author: Dustin J. Mitchell <dustin at zmanda.com>
Date:   2010-06-02 (Wed, 02 Jun 2010)

Changed paths:
  M buildbot/master.py
  M buildbot/status/builder.py
  M buildbot/status/web/authz.py
  M buildbot/status/web/base.py
  M buildbot/status/web/baseweb.py
  M buildbot/status/web/root.py
  M buildbot/status/web/templates/forms.html
  M buildbot/status/web/templates/root.html
  A buildbot/test/unit/test_master_cleanshutdown.py

Log Message:
-----------
Merge branch 'clean_shutdown' of git://github.com/catlee/buildbot

* 'clean_shutdown' of git://github.com/catlee/buildbot:
  Adding some tests for clean shutdown
  Implemented clean master shutdown.






More information about the Commits mailing list