Run all dsvm jobs from juno onwards on trusty
We have trusty slaves, we have trusty workers registered in gearman, make zuul use them for everything newer than icehouse when running dsvm jobs. Change-Id: Iae037e6c1853aee5044c8e8549d8b6dc93db2b02
This commit is contained in:
parent
46b8b8857d
commit
c76f930c09
@ -37,7 +37,19 @@ def reusable_node(item, job, params):
|
||||
|
||||
|
||||
def devstack_params(item, job, params):
|
||||
params['ZUUL_NODE'] = 'devstack-precise'
|
||||
change = item.change
|
||||
# Note we can't fallback on the default labels because
|
||||
# jenkins uses 'devstack-precise || devstack-trusty'.
|
||||
# This is necessary to get the gearman plugin to register
|
||||
# gearman jobs with both node labels.
|
||||
if ((hasattr(change, 'branch') and
|
||||
change.branch == 'stable/havana' or
|
||||
change.branch == 'stable/icehouse') or
|
||||
('havana' in job.name or
|
||||
'icehouse' in job.name)):
|
||||
params['ZUUL_NODE'] = 'devstack-precise'
|
||||
else:
|
||||
params['ZUUL_NODE'] = 'devstack-trusty'
|
||||
|
||||
|
||||
def default_params_precise(item, job, params):
|
||||
|
Loading…
x
Reference in New Issue
Block a user