[Buildbot-commits] [buildbot/buildbot] 1044b0: Add schedulers to the data API

GitHub noreply at github.com
Tue Jan 29 03:33:10 UTC 2013


  Branch: refs/heads/nine
  Home:   https://github.com/buildbot/buildbot
  Commit: 1044b0f6e838474f7a019a9c62bde8ec04ad7693
      https://github.com/buildbot/buildbot/commit/1044b0f6e838474f7a019a9c62bde8ec04ad7693
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

  Changed paths:
    M README.md
    M master/buildbot/data/connector.py
    M master/buildbot/data/exceptions.py
    M master/buildbot/data/masters.py
    A master/buildbot/data/schedulers.py
    M master/buildbot/schedulers/base.py
    M master/buildbot/schedulers/basic.py
    M master/buildbot/schedulers/dependent.py
    M master/buildbot/schedulers/forcesched.py
    M master/buildbot/schedulers/timed.py
    M master/buildbot/test/fake/fakedata.py
    M master/buildbot/test/fake/fakedb.py
    M master/buildbot/test/unit/test_data_masters.py
    A master/buildbot/test/unit/test_data_schedulers.py
    M master/buildbot/test/unit/test_schedulers_base.py
    M master/buildbot/test/unit/test_schedulers_basic.py
    M master/buildbot/test/unit/test_schedulers_dependent.py
    M master/buildbot/test/unit/test_schedulers_manager.py
    M master/buildbot/test/unit/test_schedulers_timed_Nightly.py
    M master/buildbot/test/unit/test_schedulers_timed_NightlyTriggerable.py
    M master/buildbot/test/unit/test_schedulers_timed_Periodic.py
    M master/buildbot/test/unit/test_schedulers_timed_Timed.py
    M master/buildbot/test/util/validation.py
    M master/docs/developer/classes.rst
    A master/docs/developer/cls-basescheduler.rst
    M master/docs/developer/config.rst
    M master/docs/developer/data.rst
    M master/docs/developer/db.rst
    M master/docs/developer/general.rst
    A master/docs/developer/rtype-scheduler.rst
    A master/docs/developer/schedulers.rst
    M master/docs/developer/tests.rst

  Log Message:
  -----------
  Add schedulers to the data API

Schedulers are only active on one master at a time.  This commit adds
support for schedulers to be configured and started (as Twisted
services), but not active.  The scheduler objects poll regularly and
become active if the scheduler is not active on any other master.

When a master shuts down - either normally or due to a heartbeat timeout
- it drops ownership of all schedulers for which it was active.

Other than that, this adds some basic endpoints and reflects the
findSchedulerById and setSchedulerMaster db methods as update methods.


  Commit: c4e5167b2d7af35e6cc737c6cddc6bb86ff0f1ca
      https://github.com/buildbot/buildbot/commit/c4e5167b2d7af35e6cc737c6cddc6bb86ff0f1ca
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

  Changed paths:
    M master/buildbot/data/schedulers.py

  Log Message:
  -----------
  remove yield from defer.returnValue calls


  Commit: b701f8ee0228db857bfa911768bb3efbf45ba99f
      https://github.com/buildbot/buildbot/commit/b701f8ee0228db857bfa911768bb3efbf45ba99f
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-01-20 (Sun, 20 Jan 2013)

  Changed paths:
    M master/docs/manual/cfg-schedulers.rst

  Log Message:
  -----------
  document scheduler failover behavior in the manual


  Commit: ab0879027aef9241c64f934d1557301cff8dca6b
      https://github.com/buildbot/buildbot/commit/ab0879027aef9241c64f934d1557301cff8dca6b
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-01-20 (Sun, 20 Jan 2013)

  Changed paths:
    M README.md

  Log Message:
  -----------
  add README item


  Commit: e9cfb91bf70809152f4808d07ff5be439e56a85f
      https://github.com/buildbot/buildbot/commit/e9cfb91bf70809152f4808d07ff5be439e56a85f
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-01-28 (Mon, 28 Jan 2013)

  Changed paths:
    M master/docs/developer/schedulers.rst
    M master/docs/developer/utils.rst

  Log Message:
  -----------
  point to utils.rst for docs of compare_attrs


  Commit: eb758aa925817a7b7945908a4612f5f701c9276f
      https://github.com/buildbot/buildbot/commit/eb758aa925817a7b7945908a4612f5f701c9276f
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-01-28 (Mon, 28 Jan 2013)

  Changed paths:
    M master/buildbot/test/unit/test_schedulers_base.py

  Log Message:
  -----------
  remove outcommented code


  Commit: 5a271baf6bd49d75d2068794fa369f34e46f9535
      https://github.com/buildbot/buildbot/commit/5a271baf6bd49d75d2068794fa369f34e46f9535
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-01-28 (Mon, 28 Jan 2013)

  Changed paths:
    M master/buildbot/test/fake/fakedb.py

  Log Message:
  -----------
  call fail() with an exception


  Commit: b9f31970a4f007a8618d84250f530715521a28df
      https://github.com/buildbot/buildbot/commit/b9f31970a4f007a8618d84250f530715521a28df
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-01-28 (Mon, 28 Jan 2013)

  Changed paths:
    M master/buildbot/data/schedulers.py

  Log Message:
  -----------
  use gatherResults for parallel goodness


  Commit: 12c131ba35d30ab0ec100427be007e8428c17c93
      https://github.com/buildbot/buildbot/commit/12c131ba35d30ab0ec100427be007e8428c17c93
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-01-28 (Mon, 28 Jan 2013)

  Changed paths:
    M master/buildbot/schedulers/base.py

  Log Message:
  -----------
  remove redundant maybeDeferred calls


  Commit: a05385653adfd04e549e4fc1766428184f3471f8
      https://github.com/buildbot/buildbot/commit/a05385653adfd04e549e4fc1766428184f3471f8
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-01-28 (Mon, 28 Jan 2013)

  Changed paths:
    M master/buildbot/schedulers/base.py

  Log Message:
  -----------
  handle exceptions in _activityPoll


  Commit: 05d09681136eb33b36bf826cbc4bad4f4a2585ff
      https://github.com/buildbot/buildbot/commit/05d09681136eb33b36bf826cbc4bad4f4a2585ff
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-01-28 (Mon, 28 Jan 2013)

  Changed paths:
    M README.md
    M master/buildbot/data/connector.py
    M master/buildbot/data/exceptions.py
    M master/buildbot/data/masters.py
    A master/buildbot/data/schedulers.py
    M master/buildbot/schedulers/base.py
    M master/buildbot/schedulers/basic.py
    M master/buildbot/schedulers/dependent.py
    M master/buildbot/schedulers/forcesched.py
    M master/buildbot/schedulers/timed.py
    M master/buildbot/test/fake/fakedata.py
    M master/buildbot/test/fake/fakedb.py
    M master/buildbot/test/unit/test_data_masters.py
    A master/buildbot/test/unit/test_data_schedulers.py
    M master/buildbot/test/unit/test_schedulers_base.py
    M master/buildbot/test/unit/test_schedulers_basic.py
    M master/buildbot/test/unit/test_schedulers_dependent.py
    M master/buildbot/test/unit/test_schedulers_manager.py
    M master/buildbot/test/unit/test_schedulers_timed_Nightly.py
    M master/buildbot/test/unit/test_schedulers_timed_NightlyTriggerable.py
    M master/buildbot/test/unit/test_schedulers_timed_Periodic.py
    M master/buildbot/test/unit/test_schedulers_timed_Timed.py
    M master/buildbot/test/util/validation.py
    M master/docs/developer/classes.rst
    A master/docs/developer/cls-basescheduler.rst
    M master/docs/developer/config.rst
    M master/docs/developer/data.rst
    M master/docs/developer/db.rst
    M master/docs/developer/general.rst
    A master/docs/developer/rtype-scheduler.rst
    A master/docs/developer/schedulers.rst
    M master/docs/developer/tests.rst
    M master/docs/developer/utils.rst
    M master/docs/manual/cfg-schedulers.rst

  Log Message:
  -----------
  Merge branch '9/schedulerdata' into nine


Compare: https://github.com/buildbot/buildbot/compare/5848b462e60b...05d09681136e


More information about the Commits mailing list