X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d52c2173c65ec1de298061b7ef33c8f009ec04f3..e1bbeea15e75d04d1b6565c5ba36d1d07578ee1a:/build/buildbot/master/master.cfg diff --git a/build/buildbot/master/master.cfg b/build/buildbot/master/master.cfg index bba000845e..bcf94cfc32 100644 --- a/build/buildbot/master/master.cfg +++ b/build/buildbot/master/master.cfg @@ -27,35 +27,6 @@ from account import all_slaves 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 @@ -128,7 +99,7 @@ fastnet_lock = locks.MasterLock("fastnet_lock") # builders c['builders'] = [ - {'name':'dist builder', + {'name':'distBuilder', 'slavename':'bob_dist_worker', 'builddir':'/var/lib/buildbot/simgrid/dist-worker', 'factory':dist_factory}, @@ -144,8 +115,6 @@ c['builders'] = [ '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', @@ -182,22 +151,33 @@ c['builders'] = [ ] -# 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="simgrid_buildbot", channels=["#simgrid"])) from buildbot.status.mail import MailNotifier - mn = MailNotifier(fromaddr="SimGrid buildbot ", - sendToInterestedUsers=False, - extraRecipients=['martin.quinson@loria.fr']) + sendToInterestedUsers=False, extraRecipients=['martin.quinson@loria.fr']) c['status'].append(mn) #################################################################################### @@ -220,6 +200,6 @@ from buildbot.scheduler import Scheduler, Nightly, Periodic #hourly = Periodic("hourly_scheduler", all_slaves, 60*60*2) # delay in seconds #c['schedulers'] = [nightly_scheduler,hourly] -c['schedulers'] = [] +#c['schedulers'] = []