Fix the integrated-gate-compute job template

Below commit changed the integrated-gate-compute job template
behaviour for stable branches. This template is used for master
as well as the stable branches also and we should not change
stable branches gate while adding the new jobs. centos-8-stream
job is meant to be run from stable/wallaby to stable/yoga and
from zed cycle onwards centos-9-stream should run,

- https://review.opendev.org/c/openstack/tempest/+/839274/1/zuul.d/integrated-gate.yaml#369

This commit fixes the template for stable branches and make sure
new job centos9-stream is only run from zed onwards.

Change-Id: I15b44aff4ab633cf7ab39cbb4fc56a027d29544e
This commit is contained in:
Ghanshyam Mann 2022-04-27 17:45:52 -05:00
parent 9f21c90131
commit 9625f0d364

View File

@ -90,6 +90,8 @@
name: tempest-full-centos-9-stream
parent: tempest-full-py3
nodeset: devstack-single-node-centos-9-stream
# centos-9-stream is supported from yoga release onwards
branches: ^(?!stable/(pike|queens|rocky|stein|train|ussuri|victoria|wallaby|xena)).*$
description: |
Base integration test on CentOS 9 stream
vars:
@ -143,7 +145,8 @@
name: tempest-integrated-compute-centos-9-stream
parent: tempest-integrated-compute
nodeset: devstack-single-node-centos-9-stream
branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri|victoria)).*$
# centos-9-stream is supported from yoga release onwards
branches: ^(?!stable/(pike|queens|rocky|stein|train|ussuri|victoria|wallaby|xena)).*$
description: |
This job runs integration tests for compute. This is
subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests)
@ -361,12 +364,22 @@
(Nova, Neutron, Cinder and Glance related) in check and gate
for the Nova integrated gate. This is meant to be
run on Nova gate only.
# NOTE(gmann): This template is used for stable branches also so when we
# add/remove jobs here we need to make sure we should not change the
# behaviour for stable branches. For example, with branch variant we need
# to make sure old job keep running on stable branches and the new one run
# only from master(or the branch it was meant to run).
check:
jobs:
- grenade-skip-level:
voting: false
- tempest-integrated-compute
- tempest-integrated-compute-centos-9-stream
# centos-8-stream is tested from wallaby -> yoga branches
- tempest-integrated-compute-centos-8-stream:
branches: ^stable/(wallaby|xena|yoga).*$
# centos-9-stream is tested from zed release onwards
- tempest-integrated-compute-centos-9-stream:
branches: ^(?!stable/(pike|queens|rocky|stein|train|ussuri|victoria|wallaby|xena|yoga)).*$
- openstacksdk-functional-devstack
gate:
jobs: