Fix branch regex to cover unmaintained branches

Required to keep running jobs when branches are
renamed from stable to unmaintained.

yoga already transitioned to unmaintained. victoria,
wallaby and xena are in progress.

Related-Bug: #2056276
Change-Id: I12eac55c9864eeeed255f426c537b7e53e908521
This commit is contained in:
yatinkarel 2024-03-07 17:22:44 +05:30
parent 2a65693914
commit 1c5f341c41
2 changed files with 21 additions and 21 deletions

View File

@ -48,7 +48,7 @@
# this job definition is only for stable/xena onwards # this job definition is only for stable/xena onwards
# and separate job definition until stable/wallaby # and separate job definition until stable/wallaby
branches: branches:
regex: ^stable/(victoria|wallaby)$ regex: ^.*/(victoria|wallaby)$
negate: true negate: true
description: | description: |
Base integration test with Neutron networking, horizon, swift enable, Base integration test with Neutron networking, horizon, swift enable,
@ -82,7 +82,7 @@
nodeset: devstack-single-node-centos-9-stream nodeset: devstack-single-node-centos-9-stream
# centos-9-stream is supported from yoga release onwards # centos-9-stream is supported from yoga release onwards
branches: branches:
regex: ^stable/(victoria|wallaby|xena)$ regex: ^.*/(victoria|wallaby|xena)$
negate: true negate: true
description: | description: |
Base integration test on CentOS 9 stream Base integration test on CentOS 9 stream
@ -143,7 +143,7 @@
nodeset: devstack-single-node-centos-9-stream nodeset: devstack-single-node-centos-9-stream
# centos-9-stream is supported from yoga release onwards # centos-9-stream is supported from yoga release onwards
branches: branches:
regex: ^stable/(victoria|wallaby|xena)$ regex: ^.*/(victoria|wallaby|xena)$
negate: true negate: true
description: | description: |
This job runs integration tests for compute. This is This job runs integration tests for compute. This is
@ -230,7 +230,7 @@
nodeset: openstack-two-node-jammy nodeset: openstack-two-node-jammy
# This job runs on ubuntu Jammy and after stable/zed. # This job runs on ubuntu Jammy and after stable/zed.
branches: branches:
regex: ^stable/(victoria|wallaby|xena|yoga|zed)$ regex: ^.*/(victoria|wallaby|xena|yoga|zed)$
negate: true negate: true
vars: vars:
# NOTE(gmann): Default concurrency is higher (number of cpu -2) which # NOTE(gmann): Default concurrency is higher (number of cpu -2) which
@ -295,7 +295,7 @@
# till stable/wallaby, this job definition is only for stable/xena # till stable/wallaby, this job definition is only for stable/xena
# onwards and separate job definition until stable/wallaby # onwards and separate job definition until stable/wallaby
branches: branches:
regex: ^stable/(victoria|wallaby)$ regex: ^.*/(victoria|wallaby)$
negate: true negate: true
vars: vars:
tox_envlist: slow tox_envlist: slow
@ -428,7 +428,7 @@
# described in https://review.opendev.org/872341 # described in https://review.opendev.org/872341
- openstacksdk-functional-devstack: - openstacksdk-functional-devstack:
branches: branches:
regex: ^stable/(victoria|wallaby)$ regex: ^.*/(victoria|wallaby)$
negate: true negate: true
gate: gate:
jobs: jobs:
@ -445,7 +445,7 @@
# described in https://review.opendev.org/872341 # described in https://review.opendev.org/872341
- openstacksdk-functional-devstack: - openstacksdk-functional-devstack:
branches: branches:
regex: ^stable/(victoria|wallaby)$ regex: ^.*/(victoria|wallaby)$
negate: true negate: true
- project-template: - project-template:
@ -481,14 +481,14 @@
- tempest-integrated-compute - tempest-integrated-compute
# centos-8-stream is tested from wallaby -> yoga branches # centos-8-stream is tested from wallaby -> yoga branches
- tempest-integrated-compute-centos-8-stream: - tempest-integrated-compute-centos-8-stream:
branches: ^stable/(wallaby|xena|yoga).*$ branches: ^.*/(wallaby|xena|yoga)$
# Do not run it on ussuri until below issue is fixed # Do not run it on ussuri until below issue is fixed
# https://storyboard.openstack.org/#!/story/2010057 # https://storyboard.openstack.org/#!/story/2010057
# and job is broken up to wallaby branch due to the issue # and job is broken up to wallaby branch due to the issue
# described in https://review.opendev.org/872341 # described in https://review.opendev.org/872341
- openstacksdk-functional-devstack: - openstacksdk-functional-devstack:
branches: branches:
regex: ^stable/(victoria|wallaby)$ regex: ^.*/(victoria|wallaby)$
negate: true negate: true
gate: gate:
jobs: jobs:
@ -498,14 +498,14 @@
- tempest-integrated-compute - tempest-integrated-compute
- openstacksdk-functional-devstack: - openstacksdk-functional-devstack:
branches: branches:
regex: ^stable/(victoria|wallaby)$ regex: ^.*/(victoria|wallaby)$
negate: true negate: true
periodic-weekly: periodic-weekly:
jobs: jobs:
# centos-9-stream is tested from zed release onwards # centos-9-stream is tested from zed release onwards
- tempest-integrated-compute-centos-9-stream: - tempest-integrated-compute-centos-9-stream:
branches: branches:
regex: ^stable/(victoria|wallaby|xena|yoga)$ regex: ^.*/(victoria|wallaby|xena|yoga)$
negate: true negate: true
- project-template: - project-template:
@ -537,7 +537,7 @@
# described in https://review.opendev.org/872341 # described in https://review.opendev.org/872341
- openstacksdk-functional-devstack: - openstacksdk-functional-devstack:
branches: branches:
regex: ^stable/(victoria|wallaby)$ regex: ^.*/(victoria|wallaby)$
negate: true negate: true
gate: gate:
jobs: jobs:
@ -554,7 +554,7 @@
# described in https://review.opendev.org/872341 # described in https://review.opendev.org/872341
- openstacksdk-functional-devstack: - openstacksdk-functional-devstack:
branches: branches:
regex: ^stable/(victoria|wallaby)$ regex: ^.*/(victoria|wallaby)$
negate: true negate: true
- project-template: - project-template:
@ -586,7 +586,7 @@
# described in https://review.opendev.org/872341 # described in https://review.opendev.org/872341
- openstacksdk-functional-devstack: - openstacksdk-functional-devstack:
branches: branches:
regex: ^stable/(victoria|wallaby)$ regex: ^.*/(victoria|wallaby)$
negate: true negate: true
gate: gate:
jobs: jobs:
@ -603,7 +603,7 @@
# described in https://review.opendev.org/872341 # described in https://review.opendev.org/872341
- openstacksdk-functional-devstack: - openstacksdk-functional-devstack:
branches: branches:
regex: ^stable/(victoria|wallaby)$ regex: ^.*/(victoria|wallaby)$
negate: true negate: true
- project-template: - project-template:
@ -628,7 +628,7 @@
# described in https://review.opendev.org/872341 # described in https://review.opendev.org/872341
- openstacksdk-functional-devstack: - openstacksdk-functional-devstack:
branches: branches:
regex: ^stable/(victoria|wallaby)$ regex: ^.*/(victoria|wallaby)$
negate: true negate: true
gate: gate:
jobs: jobs:
@ -645,5 +645,5 @@
# described in https://review.opendev.org/872341 # described in https://review.opendev.org/872341
- openstacksdk-functional-devstack: - openstacksdk-functional-devstack:
branches: branches:
regex: ^stable/(victoria|wallaby)$ regex: ^.*/(victoria|wallaby)$
negate: true negate: true

View File

@ -97,7 +97,7 @@
- stable/victoria - stable/victoria
- stable/wallaby - stable/wallaby
- stable/xena - stable/xena
- stable/yoga - unmaintained/yoga
- stable/zed - stable/zed
vars: vars:
devstack_localrc: devstack_localrc:
@ -120,7 +120,7 @@
- stable/victoria - stable/victoria
- stable/wallaby - stable/wallaby
- stable/xena - stable/xena
- stable/yoga - unmaintained/yoga
- stable/zed - stable/zed
vars: vars:
devstack_localrc: devstack_localrc:
@ -168,7 +168,7 @@
branches: branches:
- stable/wallaby - stable/wallaby
- stable/xena - stable/xena
- stable/yoga - unmaintained/yoga
description: | description: |
This job runs integration tests for compute. This is This job runs integration tests for compute. This is
subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests) subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests)
@ -187,7 +187,7 @@
branches: branches:
- stable/wallaby - stable/wallaby
- stable/xena - stable/xena
- stable/yoga - unmaintained/yoga
nodeset: devstack-single-node-centos-8-stream nodeset: devstack-single-node-centos-8-stream
description: | description: |
Base integration test with Neutron networking and py36 running Base integration test with Neutron networking and py36 running