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
1 changed files with 9 additions and 1 deletions

View File

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