place py36 job template after py35
Insert the template for the python 3.6 jobs in order after the one for the 3.5 jobs to keep things tidy. Change-Id: Idc0923681a5e02c5a74e297df86e36af5e76263c Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
14b40ecc84
commit
6c352dfdca
@ -883,7 +883,8 @@ class JobsAddPy36(command.Command):
|
||||
supports_python = 'openstack-python35-jobs' in templates
|
||||
tests_py36 = 'openstack-python36-jobs' in templates
|
||||
if supports_python and not tests_py36:
|
||||
templates.append('openstack-python36-jobs')
|
||||
idx = templates.index('openstack-python35-jobs')
|
||||
templates.insert(idx + 1, 'openstack-python36-jobs')
|
||||
changed = True
|
||||
# Look through the pipelines for 'openstack-tox-py35'
|
||||
# and copy any job settings to 'openstack-tox-py36'.
|
||||
|
Loading…
Reference in New Issue
Block a user