Rev 53: Switch to a deterministic scheduler. in file:///home/vila/buildbot/bzr/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Aug 14 16:03:36 BST 2009
At file:///home/vila/buildbot/bzr/
------------------------------------------------------------
revno: 53
revision-id: v.ladeuil+lp at free.fr-20090814150336-0c5skkan5uziwehi
parent: v.ladeuil+lp at free.fr-20090814130114-tneyake2ovik1cg6
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: bzr
timestamp: Fri 2009-08-14 17:03:36 +0200
message:
Switch to a deterministic scheduler.
* master/master.cfg:
(schedulers): Make the default scheduler run at midnight to get
fresh results in the morning.
-------------- next part --------------
=== modified file 'master/master.cfg'
--- a/master/master.cfg 2009-08-14 13:01:14 +0000
+++ b/master/master.cfg 2009-08-14 15:03:36 +0000
@@ -216,16 +216,22 @@
## configure the Schedulers
from buildbot import scheduler
+
default_scheduler = scheduler.Scheduler(
name="all", branch=None,
treeStableTimer=2*60,
builderNames=[b["name"] for b in c["builders"]])
-daily_scheduler = scheduler.Periodic(
- name='daily',
+
+# Since so many bugs trigger only around midnight, it's only fair to try to
+# help them. Well, it may sound a bit vain to speak about midnight in a
+# distributed world, but it's expected that at least some of the slaves will be
+# in the same TZ as the master anyway.
+midnight_scheduler = scheduler.Nightly(
+ name='midnight',
builderNames=[b["name"] for b in c["builders"]],
- periodicBuildTimer=24*60*60)
+ hour=0, minute=0)
-c['schedulers'] = [daily_scheduler]
+c['schedulers'] = [midnight_scheduler]
####### STATUS TARGETS
More information about the bazaar-commits
mailing list