# Branches and distros to build
OSRF_BRANCHES = ('master', 'rel_2_1', 'rel_2_0')
OSRF_DISTROS = [('ubuntu-10.04-x86_64', 'opensrf-slave')]
-EG_BRANCHES = ('master', 'rel_2_2', 'rel_2_0', 'rel_2_1')
+EG_BRANCHES = ('master', 'rel_2_2', 'rel_2_1')
EG_DISTROS = [
('debian-6.00-x86_64', 'eg-slave'), # UPEI
('ubuntu-10.04-x86', 'eg-u1004') # GPLS
master_filter = ChangeFilter(project='OpenSRF', branch="master")
rel_2_0_filter = ChangeFilter(project='OpenSRF', branch="rel_2_0")
rel_2_1_filter = ChangeFilter(project='OpenSRF', branch="rel_2_1")
-eg_rel_2_0_filter = ChangeFilter(project='Evergreen', branch="rel_2_0")
eg_rel_2_1_filter = ChangeFilter(project='Evergreen', branch="rel_2_1")
eg_rel_2_2_filter = ChangeFilter(project='Evergreen', branch="rel_2_2")
eg_master_filter = ChangeFilter(project='Evergreen', branch="master")
"evergreen-rel_2_2-ubuntu-10.04-x86"
]))
-c['schedulers'].append(SingleBranchScheduler(name="evergreen-rel_2_0",
- treeStableTimer=300,
- change_filter=eg_rel_2_0_filter,
- builderNames=[
- "evergreen-rel_2_0-debian-6.00-x86_64",
- "evergreen-rel_2_0-ubuntu-10.04-x86"
- ]))
-
c['schedulers'].append(SingleBranchScheduler(name="evergreen-rel_2_1",
treeStableTimer=300,
change_filter=eg_rel_2_1_filter,
#### Build step tests
def eg_requires_autogen(step):
'Old versions of Evergreen require autogen.sh to bootstrap'
- if (step.build.getProperty('branch') == 'rel_2_0' or
- step.build.getProperty('branch') == 'rel_2_1'
- ):
+ if (step.build.getProperty('branch') == 'rel_2_1'):
return True
return False
)
osrf_factory.addStep(
- shell.ShellCommand(command=["autoreconf", "-f", "-i"],
+ shell.ShellCommand(command=["autoreconf", "-i"],
doStepIf=osrf_requires_autoreconf,
name="Bootstrap via autoreconf"
)