/[ascend]/trunk/tools/buildbot/master.cfg
ViewVC logotype

Diff of /trunk/tools/buildbot/master.cfg

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3335 by jpye, Mon Jan 15 11:24:44 2018 UTC revision 3336 by jpye, Sat Jan 27 09:15:00 2018 UTC
# Line 53  c['protocols'] = {'pb': {'port': 9989}} Line 53  c['protocols'] = {'pb': {'port': 9989}}
53  # the 'change_source' setting tells the buildmaster how it should find out  # the 'change_source' setting tells the buildmaster how it should find out
54  # about source code changes.  Here we point to the buildbot clone of pyflakes.  # about source code changes.  Here we point to the buildbot clone of pyflakes.
55    
56  c['change_source'] = []  FREESTEAM_SVN = "https://svn.code.sf.net/p/freesteam/code"
57    FREESTEAM_SVN_TRUNK = "%s/trunk"%(FREESTEAM_SVN,)
58    
59    c['change_source'] = [
60  # ASCEND  # ASCEND
61  c['change_source'].append(changes.PBChangeSource(      changes.PBChangeSource(
62      passwd='ascend4bb'          passwd='ascend4bb')
63  ))  # freesteam
64        ,changes.SVNPoller(
65            repourl=FREESTEAM_SVN
66            ,split_file=util.svn.split_file_alwaystrunk)
67    ]
68    
69  # CUNIT  # CUNIT
70  #CUNIT_SVN = "https://svn.code.sf.net/p/cunit/code/"  #CUNIT_SVN = "https://svn.code.sf.net/p/cunit/code/"
# Line 98  c['schedulers'] = [] Line 105  c['schedulers'] = []
105  c['schedulers'].append(schedulers.AnyBranchScheduler(  c['schedulers'].append(schedulers.AnyBranchScheduler(
106      name='ascendsvn'      name='ascendsvn'
107      ,builderNames=['ascend','ascend-lcov']      ,builderNames=['ascend','ascend-lcov']
108        ,change_filter=util.ChangeFilter(
109            repository_re=r"ascend4\.org")
110      ,treeStableTimer=2      ,treeStableTimer=2
111  ))  ))
112    
113  c['schedulers'].append(schedulers.SingleBranchScheduler(  c['schedulers'].append(schedulers.SingleBranchScheduler(
114      name='svntrunk'      name='svntrunk'
115      ,builderNames=['ascend-doc']      ,builderNames=['ascend-doc']
116      ,change_filter=util.ChangeFilter(branch='trunk')      ,change_filter=util.ChangeFilter(
117            branch='trunk'
118            ,repository_re=r"ascend4\.org")
119      ,treeStableTimer=2      ,treeStableTimer=2
120  ))  ))
121    
# Line 126  c['schedulers'].append(schedulers.ForceS Line 137  c['schedulers'].append(schedulers.ForceS
137      ]      ]
138  ))  ))
139    
140    # FREESTEAM SCHEDULERS
141    
142    c['schedulers'].append(schedulers.SingleBranchScheduler(
143        name='freesteam'
144        ,builderNames=['freesteam']
145        ,change_filter=util.ChangeFilter(branch='trunk'
146            ,repository_re="freesteam")
147        ,treeStableTimer=2
148    ))
149    c['schedulers'].append(schedulers.ForceScheduler(
150        name='force_freesteam'
151        ,builderNames=['freesteam']
152        ,label='Force freesteam build'
153        ,codebases=[
154            util.CodebaseParameter("",
155                revision=util.FixedParameter(name="revision",default="")
156            )
157        ]
158    ))
159    
160    
161    
162  ## CUNIT SCHEDULERS  ## CUNIT SCHEDULERS
163  #  #
# Line 256  c['builders'].append(util.BuilderConfig( Line 288  c['builders'].append(util.BuilderConfig(
288      ,factory=docfactory      ,factory=docfactory
289  ))  ))
290    
291    # FREESTEAM BUILD
292    
293    fsfactory = util.BuildFactory()
294    fsfactory.addSteps([
295        steps.SVN(repourl=FREESTEAM_SVN_TRUNK, mode="full", method="clobber", haltOnFailure=True)
296        ,steps.Compile(name="build",command=["/usr/bin/scons","DEBUG=1","test"],haltOnFailure=True)
297        ,steps.ShellCommand(name="test",command=["./test"],haltOnFailure=True
298            ,env={'LD_LIBRARY_PATH':"."})
299    ])
300    
301    c['builders'].append(util.BuilderConfig(
302        name="freesteam",workernames=['bot-ub1404']
303        ,factory=fsfactory
304    ))
305    
306  #------------------------------------------------------------------------------  #------------------------------------------------------------------------------
307  ####### BUILDBOT SERVICES  ####### BUILDBOT SERVICES
308  #------------------------------------------------------------------------------  #------------------------------------------------------------------------------

Legend:
Removed from v.3335  
changed lines
  Added in v.3336

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22