Prepare the job template for 2025.1 testing runtime

2025.1 cycle testing runtime is ready (depends-on). This commit
modifies python job template for the same.

Depends-On: https://review.opendev.org/c/openstack/governance/+/926150
Change-Id: I5ff6b5d1558e845c30d1f3c50d3b92a56402f7af
This commit is contained in:
Ghanshyam Mann 2024-08-12 11:10:51 -07:00
parent 7f5a075f3d
commit 05389d5ca6

View File

@ -704,17 +704,21 @@
- stable/2023.2 - stable/2023.2
voting: false voting: false
# py3.11 testing is added as mandatory from 2024.1 release onwards. # py3.11 testing is added as mandatory from 2024.1 release onwards.
# From 2025.1, we run it as periodic only(assuming py3.9 and py3.12
# will be enough coverage to run on every change).
- openstack-tox-py311: - openstack-tox-py311:
branches: branches:
- stable/2024.1 - stable/2024.1
- stable/2024.2 - stable/2024.2
- master # py3.12 testing is added as non voting in 2024.2 release.
# py3.12 testing is added as non voting from 2024.2 release onwards.
- openstack-tox-py312: - openstack-tox-py312:
branches: branches:
- stable/2024.2 - stable/2024.2
- master
voting: false voting: false
# py3.12 testing is added as mandatory from 2025.1 release onwards.
- openstack-tox-py312:
branches:
- master
gate: gate:
jobs: jobs:
- openstack-tox-pep8 - openstack-tox-pep8
@ -737,18 +741,26 @@
branches: branches:
- stable/2023.2 - stable/2023.2
# py3.11 testing is added as mandatory from 2024.1 release onwards. # py3.11 testing is added as mandatory from 2024.1 release onwards.
# From 2025.1, we run it as periodic only(assuming py3.9 and py3.12
# will be enough coverage to run on every change).
- openstack-tox-py311: - openstack-tox-py311:
branches: branches:
- stable/2024.1 - stable/2024.1
- stable/2024.2 - stable/2024.2
# py3.12 testing is added as mandatory from 2025.1 release onwards.
- openstack-tox-py312:
branches:
- master - master
periodic: periodic:
jobs: jobs:
# NOTE(gmann): We can remove the periodic py3.10 job once # NOTE(gmann): We can remove the periodic py3.10 and py3.11 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: branches:
- master - master
- openstack-tox-py311:
branches:
- master
post: post:
jobs: jobs:
- publish-openstack-python-branch-tarball - publish-openstack-python-branch-tarball
@ -807,19 +819,27 @@
- stable/2023.2 - stable/2023.2
voting: false voting: false
# py3.11 testing is added as mandatory from 2024.1 release onwards. # py3.11 testing is added as mandatory from 2024.1 release onwards.
# From 2025.1, we run it as periodic only(assuming py3.9 and py3.12
# will be enough coverage to run on every change).
- openstack-tox-py311: - openstack-tox-py311:
required-projects: required-projects:
- openstack/horizon - openstack/horizon
branches: branches:
- stable/2024.1 - stable/2024.1
- stable/2024.2 - stable/2024.2
- master # py3.12 testing is added as non voting in 2024.2 release.
# py3.12 testing is added as non voting from 2024.2 release onwards.
- openstack-tox-py312: - openstack-tox-py312:
required-projects:
- openstack/horizon
branches: branches:
- stable/2024.2 - stable/2024.2
- master
voting: false voting: false
# py3.12 testing is added as mandatory from 2025.1 release onwards.
- openstack-tox-py312:
required-projects:
- openstack/horizon
branches:
- master
gate: gate:
jobs: jobs:
- openstack-tox-pep8: - openstack-tox-pep8:
@ -850,22 +870,34 @@
branches: branches:
- stable/2023.2 - stable/2023.2
# py3.11 testing is added as mandatory from 2024.1 release onwards. # py3.11 testing is added as mandatory from 2024.1 release onwards.
# From 2025.1, we run it as periodic only(assuming py3.9 and py3.12
# will be enough coverage to run on every change).
- openstack-tox-py311: - openstack-tox-py311:
required-projects: required-projects:
- openstack/horizon - openstack/horizon
branches: branches:
- stable/2024.1 - stable/2024.1
- stable/2024.2 - stable/2024.2
# py3.12 testing is added as mandatory from 2025.1 release onwards.
- openstack-tox-py312:
required-projects:
- openstack/horizon
branches:
- master - master
periodic: periodic:
jobs: jobs:
# NOTE(gmann): We can remove the periodic py3.10 job once # NOTE(gmann): We can remove the periodic py3.10 and py3.11 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: branches:
- master - master
required-projects: required-projects:
- openstack/horizon - openstack/horizon
- openstack-tox-py311:
branches:
- master
required-projects:
- openstack/horizon
post: post:
jobs: jobs:
- publish-openstack-python-branch-tarball - publish-openstack-python-branch-tarball
@ -924,19 +956,27 @@
- stable/2023.2 - stable/2023.2
voting: false voting: false
# py3.11 testing is added as mandatory from 2024.1 release onwards. # py3.11 testing is added as mandatory from 2024.1 release onwards.
# From 2025.1, we run it as periodic only(assuming py3.9 and py3.12
# will be enough coverage to run on every change).
- openstack-tox-py311: - openstack-tox-py311:
required-projects: required-projects:
- openstack/neutron - openstack/neutron
branches: branches:
- stable/2024.1 - stable/2024.1
- stable/2024.2 - stable/2024.2
- master # py3.12 testing is added as non voting in 2024.2 release.
# py3.12 testing is added as non voting from 2024.2 release onwards.
- openstack-tox-py312: - openstack-tox-py312:
required-projects:
- openstack/neutron
branches: branches:
- stable/2024.2 - stable/2024.2
- master
voting: false voting: false
# py3.12 testing is added as mandatory from 2025.1 release onwards.
- openstack-tox-py312:
required-projects:
- openstack/neutron
branches:
- master
gate: gate:
jobs: jobs:
- openstack-tox-pep8: - openstack-tox-pep8:
@ -967,22 +1007,34 @@
branches: branches:
- stable/2023.2 - stable/2023.2
# py3.11 testing is added as mandatory from 2024.1 release onwards. # py3.11 testing is added as mandatory from 2024.1 release onwards.
# From 2025.1, we run it as periodic only(assuming py3.9 and py3.12
# will be enough coverage to run on every change).
- openstack-tox-py311: - openstack-tox-py311:
required-projects: required-projects:
- openstack/neutron - openstack/neutron
branches: branches:
- stable/2024.1 - stable/2024.1
- stable/2024.2 - stable/2024.2
# py3.12 testing is added as mandatory from 2025.1 release onwards.
- openstack-tox-py312:
required-projects:
- openstack/neutron
branches:
- master - master
periodic: periodic:
jobs: jobs:
# NOTE(gmann): We can remove the periodic py3.10 job once # NOTE(gmann): We can remove the periodic py3.10 and python 3.11 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: branches:
- master - master
required-projects: required-projects:
- openstack/neutron - openstack/neutron
- openstack-tox-py311:
branches:
- master
required-projects:
- openstack/neutron
post: post:
jobs: jobs:
- publish-openstack-python-branch-tarball - publish-openstack-python-branch-tarball
@ -1041,19 +1093,27 @@
- stable/2023.2 - stable/2023.2
voting: false voting: false
# py3.11 testing is added as mandatory from 2024.1 release onwards. # py3.11 testing is added as mandatory from 2024.1 release onwards.
# From 2025.1, we run it as periodic only(assuming py3.9 and py3.12
# will be enough coverage to run on every change).
- openstack-tox-py311: - openstack-tox-py311:
required-projects: required-projects:
- openstack/ceilometer - openstack/ceilometer
branches: branches:
- stable/2024.1 - stable/2024.1
- stable/2024.2 - stable/2024.2
- master # py3.12 testing is added as non voting in 2024.2 release.
# py3.12 testing is added as non voting from 2024.2 release onwards.
- openstack-tox-py312: - openstack-tox-py312:
required-projects:
- openstack/ceilometer
branches: branches:
- stable/2024.2 - stable/2024.2
- master
voting: false voting: false
# py3.12 testing is added as mandatory from 2025.1 release onwards.
- openstack-tox-py312:
required-projects:
- openstack/ceilometer
branches:
- master
gate: gate:
jobs: jobs:
- openstack-tox-pep8: - openstack-tox-pep8:
@ -1084,22 +1144,34 @@
branches: branches:
- stable/2023.2 - stable/2023.2
# py3.11 testing is added as mandatory from 2024.1 release onwards. # py3.11 testing is added as mandatory from 2024.1 release onwards.
# From 2025.1, we run it as periodic only(assuming py3.9 and py3.12
# will be enough coverage to run on every change).
- openstack-tox-py311: - openstack-tox-py311:
required-projects: required-projects:
- openstack/ceilometer - openstack/ceilometer
branches: branches:
- stable/2024.1 - stable/2024.1
- stable/2024.2 - stable/2024.2
# py3.12 testing is added as mandatory from 2025.1 release onwards.
- openstack-tox-py312:
required-projects:
- openstack/ceilometer
branches:
- master - master
periodic: periodic:
jobs: jobs:
# NOTE(gmann): We can remove the periodic py3.10 job once # NOTE(gmann): We can remove the periodic py3.10 and py3.11 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: branches:
- master - master
required-projects: required-projects:
- openstack/ceilometer - openstack/ceilometer
- openstack-tox-py311:
branches:
- master
required-projects:
- openstack/ceilometer
post: post:
jobs: jobs:
- publish-openstack-python-branch-tarball - publish-openstack-python-branch-tarball
@ -1185,6 +1257,10 @@
- stable/2023.2 - stable/2023.2
- stable/2024.1 - stable/2024.1
- stable/2024.2 - stable/2024.2
# py3.12 testing is added from 2025.1 release onwards
- openstack-tox-py312-arm64:
voting: false
branches:
- master - master
- project-template: - project-template: