Run periodic jobs only on master

The periodic pipeline is only for the master branch, for stable branches
we have the dedicated periodic-stable pipeline. Add branch matchers in
order to avoid jobs running twice.

Change-Id: Ia6cf7bc02a473abf2af1f770b0f030c914c8ede0
This commit is contained in:
Dr. Jens Harbott 2024-03-21 10:41:39 +01:00
parent d5c47d8b53
commit 9f9a1102b5

View File

@ -763,7 +763,9 @@
jobs: jobs:
# NOTE(gmann): We can remove the periodic py3.10 job once # NOTE(gmann): We can remove the periodic py3.10 job once
# the master testing runtime does not include it to test. # the master testing runtime does not include it to test.
- openstack-tox-py310 - openstack-tox-py310:
branches:
- master
post: post:
jobs: jobs:
- publish-openstack-python-branch-tarball - publish-openstack-python-branch-tarball
@ -872,6 +874,8 @@
# NOTE(gmann): We can remove the periodic py3.10 job once # NOTE(gmann): We can remove the periodic py3.10 job once
# the master testing runtime does not include it to test. # the master testing runtime does not include it to test.
- openstack-tox-py310: - openstack-tox-py310:
branches:
- master
required-projects: required-projects:
- openstack/horizon - openstack/horizon
post: post:
@ -982,6 +986,8 @@
# NOTE(gmann): We can remove the periodic py3.10 job once # NOTE(gmann): We can remove the periodic py3.10 job once
# the master testing runtime does not include it to test. # the master testing runtime does not include it to test.
- openstack-tox-py310: - openstack-tox-py310:
branches:
- master
required-projects: required-projects:
- openstack/neutron - openstack/neutron
post: post:
@ -1092,6 +1098,8 @@
# NOTE(gmann): We can remove the periodic py3.10 job once # NOTE(gmann): We can remove the periodic py3.10 job once
# the master testing runtime does not include it to test. # the master testing runtime does not include it to test.
- openstack-tox-py310: - openstack-tox-py310:
branches:
- master
required-projects: required-projects:
- openstack/ceilometer - openstack/ceilometer
post: post: