c['slavePortnum'] = 9989
-####### CHANGESOURCES
-
-# the 'sources' list tells the buildmaster how it should find out about
-# 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'] = []
-
-# 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())
-
-
####################################################################################
# builders declarations
# builders
c['builders'] = [
- {'name':'dist builder',
+ {'name':'distBuilder',
'slavename':'bob_dist_worker',
'builddir':'/var/lib/buildbot/simgrid/dist-worker',
'factory':dist_factory},
'builddir':'/var/lib/buildbot/simgrid/linux_amd64_ucontext/builddir_O3',
'factory':ucontext_factory_O3,
'locks': [bob_lock]},
-
-
{'name':'linux_i386_pthreads_O3',
'slavename':'artimon_pthreads',
]
-# status html page
+####### CHANGESOURCES
+
+# Get changes from SVN, by polling every 60 seconds
+from buildbot.changes.svnpoller import SVNPoller
+c['change_source'] = SVNPoller("svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk", pollinterval=60)
+
+# Once we have a change, build a tarball
+
+from buildbot import scheduler
+maketarball = scheduler.Scheduler(name="maketarball", branch=None, treeStableTimer=1, builderNames=['distBuilder'])
+
+c['schedulers'] = [maketarball]
+
+
+# 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)
####################################################################################