From b65b5bdfa2062ea7473944c50fba53895dc5337b Mon Sep 17 00:00:00 2001 From: ghanshyam Date: Tue, 26 Mar 2019 17:07:19 +0000 Subject: [PATCH] Use ubuntu-xenial for openstack-tox-cover on stable The openstack-tox-cover jobs using bionic nodetset on stable/rocky and older stable branches. This commit use xenial for stable branches previous to stein and bionic for stein on. Change-Id: Ica2d3de80da3ce467accc986d34f2b3c8ea79656 --- zuul.d/jobs.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index c6aa1da5..347abf75 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -492,6 +492,7 @@ Run code coverage tests. Uses tox with the ``cover`` environment. + branches: ^(?!stable/(ocata|pike|queens|rocky)).*$ required-projects: - name: openstack/requirements irrelevant-files: *common-irrelevant-files @@ -500,6 +501,31 @@ tox_constraints_file: '{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt' timeout: 3000 +- job: + name: openstack-tox-cover + parent: tox-cover + description: | + Run code coverage tests (Xenial). + + Uses tox with the ``cover`` environment. + + 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. + nodeset: ubuntu-xenial + required-projects: + - name: openstack/requirements + irrelevant-files: *common-irrelevant-files + success-url: cover/ + vars: + tox_constraints_file: '{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt' + timeout: 3000 + branches: + - stable/ocata + - stable/pike + - stable/queens + - stable/rocky + - job: name: openstack-tox-bashate parent: openstack-tox