Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try to add a 'svn watch' build scheduler
[simgrid.git] / build / buildbot / master / master.cfg
index bba0008..fc9c6d2 100644 (file)
@@ -33,28 +33,13 @@ c['slavePortnum'] = 9989
 # source code changes. Any class which implements IChangeSource can be added
 # to this list: there are several in buildbot/changes/*.py to choose from.
 
-#c['change_sources'] = []
+from buildbot.changes.svnpoller import SVNPoller
+c['change_source'] = SVNPoller("svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk", pollinterval=60)
 
-# For example, if you had CVSToys installed on your repository, and your
-# CVSROOT/freshcfg file had an entry like this:
-#pb = ConfigurationSet([
-#    (None, None, None, PBService(userpass=('foo', 'bar'), port=4519)),
-#    ])
-
-# then you could use the following buildmaster Change Source to subscribe to
-# the FreshCVS daemon and be notified on every commit:
-#
-#from buildbot.changes.freshcvs import FreshCVSSource
-#fc_source = FreshCVSSource("cvs.example.com", 4519, "foo", "bar")
-#c['sources'].append(fc_source)
-
-# or, use a PBChangeSource, and then have your repository's commit script run
-# 'buildbot sendchange', or contrib/svn_buildbot.py, or
-# contrib/arch_buildbot.py :
-#
-#from buildbot.changes.pb import PBChangeSource
-#c['sources'].append(PBChangeSource())
+from buildbot import scheduler
+maketarball = scheduler.Scheduler(name="maketarball", branch=None, treeStableTimer=60, builderNames=['dist builder'])
 
+c['schedulers'] = [maketarball]
 
 
 ####################################################################################
@@ -182,22 +167,19 @@ c['builders'] = [
      ]
 
 
-# status html page
+# status targets
 
 c['status'] = []
 
 from buildbot.status import html
-w = html.Waterfall(http_port=8010)
+c['status'].append( html.Waterfall(http_port=8010) )
 
-c['status'].append(w)
-
-# status smtp request
+from buildbot.status import words                                       
+c['status'].append(words.IRC(host="irc.oftc.net", nick="buildbot", channels=["#simgrid"]))
 
 from buildbot.status.mail import MailNotifier
-
 mn = MailNotifier(fromaddr="SimGrid buildbot <sg-dev@lists.gforge.inria.fr>",
-                  sendToInterestedUsers=False,
-                  extraRecipients=['martin.quinson@loria.fr'])
+                  sendToInterestedUsers=False, extraRecipients=['martin.quinson@loria.fr'])
 c['status'].append(mn)
 
 ####################################################################################