Skip to content

Commit

Permalink
Add a builder to the buildbot for the vagrant builds
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinD42 committed Dec 10, 2016
1 parent c7bf855 commit 885eb2d
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion buildbot/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ c['slaves'] = [#BuildSlave("osx-10.7-vm-py2.7", bbpasswd.PASSWD1,
#BuildSlave("osx_10.6-py27", bbpasswd.PASSWD1,
# notify_on_missing='[email protected]',
# max_builds=1),

BuildSlave('vagrant-bldr', bbpasswd.PASSWD1,
notify_on_missing='[email protected]',
max_builds=1),
]

# 'slavePortnum' defines the TCP port to listen on for connections from slaves.
Expand Down Expand Up @@ -137,6 +141,12 @@ c['schedulers'].append( Nightly(
onlyIfChanged=True,
builderNames=["bdist-src"]))

c['schedulers'].append( Nightly(
name="sched-vagrant",
branch=phoenixGitBranch,
hour=1, minute=10,
onlyIfChanged=True,
builderNames=["vagrant-bldr"]))

c['schedulers'].append( ForceScheduler(
name='sched-force',
Expand Down Expand Up @@ -166,6 +176,7 @@ c['schedulers'].append( ForceScheduler(
"dist-win64-py35",
"bdist-docs",
"bdist-src",
"vagrant-bldr",
]))


Expand Down Expand Up @@ -213,7 +224,7 @@ def makeFactory(port, buildType='buildOnly', pyVer='2.7'):
clean = ''

# Start from a clean build tree for the daily "dist" builds
if buildType in ['dist', 'docs']:
if buildType in ['dist', 'docs', 'vagrant']:
mode = 'full'
method = 'clobber'

Expand All @@ -237,6 +248,10 @@ def makeFactory(port, buildType='buildOnly', pyVer='2.7'):
elif buildType == 'docs':
cmd = 'python -u build.py %s setrev dox touch etg sip build wxlib ' \
'sphinx bdist_docs --upload' % pyVer

elif buildType == 'vagrant':
cmd = 'python -u build.py setrev dox etg --nodoc sip sdist build_vagrant --upload'

else:
cmd = 'python -u build.py %s %s setrev dox touch etg --nodoc sip build' % (pyVer, clean)
if port == 'osx':
Expand Down Expand Up @@ -378,6 +393,10 @@ c['builders'] = [
slavenames=["win7-py27"],
factory=makeFactory('win64', 'dist', pyVer='3.5')),


BuilderConfig(name="vagrant-bldr",
slavenames=["vagrant-bldr"],
factory=makeFactory('osx', 'vagrant')),
]


Expand Down

0 comments on commit 885eb2d

Please sign in to comment.