[Buildbot-commits] buildbot/buildbot/scripts sample.cfg,1.5,1.6

Brian Warner warner at users.sourceforge.net
Thu Oct 20 22:32:50 UTC 2005


Update of /cvsroot/buildbot/buildbot/buildbot/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11143/buildbot/scripts

Modified Files:
	sample.cfg 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-346
Creator:  Brian Warner <warner at lothar.com>

update sample master.cfg files to use Schedulers


Index: sample.cfg
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scripts/sample.cfg,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- sample.cfg	11 May 2005 23:25:25 -0000	1.5
+++ sample.cfg	20 Oct 2005 22:32:48 -0000	1.6
@@ -1,3 +1,4 @@
+# -*- python -*-
 
 # This is a sample buildmaster config file. It must be installed as
 # 'master.cfg' in your buildmaster's base directory (although the filename
@@ -9,6 +10,7 @@
 
 import os.path
 from buildbot.changes.freshcvs import FreshCVSSource
+from buildbot.scheduler import Scheduler
 from buildbot.process import step, factory
 from buildbot.status import html
 s = factory.s
@@ -41,6 +43,14 @@
 #fc_source = FreshCVSSource("cvs.example.com", 4519, "foo", "bar")
 #c['sources'].append(fc_source)
 
+## configure the Schedulers
+
+c['schedulers'] = []
+c['schedulers'].append(Scheduler(name="all", branch=None,
+                                 treeStableTimer=2*60,
+                                 builderNames=["buildbot-full"]))
+
+
 
 # the 'builders' list defines the Builders. Each one is configured with a
 # dictionary, using the following keys:





More information about the Commits mailing list