Explicitly pin openstack-tox to xenial for <=rocky

In preparation for changing our base nodeset to ubuntu-bionic, be
explicit about running stable/ocata through stable/rocky branches on
ubuntu-xenial in a variant of the openstack-tox abstract job and
limit the previous default nodeset variant to branches which aren't
those.

Change-Id: Iac7884dd570aaaa72f088fa0287345feae0976f0
This commit is contained in:
Jeremy Stanley 2019-03-08 01:30:12 +00:00
parent 8507565646
commit a53afda660
1 changed files with 24 additions and 0 deletions

View File

@ -347,6 +347,30 @@
Base job to run tox jobs with OpenStack project specific updates.
Processing upper-constraints files from openstack/requirements.
branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
required-projects:
- name: openstack/requirements
vars:
tox_constraints_file: '{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt'
- job:
name: openstack-tox
abstract: true
parent: tox
nodeset: ubuntu-xenial
description: |
Base job (xenial) to run tox jobs with OpenStack project specific updates.
Processing upper-constraints files from openstack/requirements.
This job runs on Xenial for stable/ocata, pike, queens and rocky. This
job is prepared to make sure all stable branches before stable/stein will
keep running on xenial.
branches:
- stable/ocata
- stable/pike
- stable/queens
- stable/rocky
required-projects:
- name: openstack/requirements
vars: