From 05389d5ca677d1a8b955d2fedb0e6db0836ddcd9 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Mon, 12 Aug 2024 11:10:51 -0700 Subject: [PATCH] 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 --- zuul.d/project-templates.yaml | 108 +++++++++++++++++++++++++++++----- 1 file changed, 92 insertions(+), 16 deletions(-) diff --git a/zuul.d/project-templates.yaml b/zuul.d/project-templates.yaml index 8b9f18db..77a6eec0 100644 --- a/zuul.d/project-templates.yaml +++ b/zuul.d/project-templates.yaml @@ -704,17 +704,21 @@ - stable/2023.2 voting: false # 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: branches: - stable/2024.1 - stable/2024.2 - - master - # py3.12 testing is added as non voting from 2024.2 release onwards. + # py3.12 testing is added as non voting in 2024.2 release. - openstack-tox-py312: branches: - stable/2024.2 - - master voting: false + # py3.12 testing is added as mandatory from 2025.1 release onwards. + - openstack-tox-py312: + branches: + - master gate: jobs: - openstack-tox-pep8 @@ -737,18 +741,26 @@ branches: - stable/2023.2 # 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: branches: - stable/2024.1 - stable/2024.2 + # py3.12 testing is added as mandatory from 2025.1 release onwards. + - openstack-tox-py312: + branches: - master periodic: 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. - openstack-tox-py310: branches: - master + - openstack-tox-py311: + branches: + - master post: jobs: - publish-openstack-python-branch-tarball @@ -807,19 +819,27 @@ - stable/2023.2 voting: false # 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: required-projects: - openstack/horizon branches: - stable/2024.1 - stable/2024.2 - - master - # py3.12 testing is added as non voting from 2024.2 release onwards. + # py3.12 testing is added as non voting in 2024.2 release. - openstack-tox-py312: + required-projects: + - openstack/horizon branches: - stable/2024.2 - - master voting: false + # py3.12 testing is added as mandatory from 2025.1 release onwards. + - openstack-tox-py312: + required-projects: + - openstack/horizon + branches: + - master gate: jobs: - openstack-tox-pep8: @@ -850,22 +870,34 @@ branches: - stable/2023.2 # 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: required-projects: - openstack/horizon branches: - stable/2024.1 - stable/2024.2 + # py3.12 testing is added as mandatory from 2025.1 release onwards. + - openstack-tox-py312: + required-projects: + - openstack/horizon + branches: - master periodic: 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. - openstack-tox-py310: branches: - master required-projects: - openstack/horizon + - openstack-tox-py311: + branches: + - master + required-projects: + - openstack/horizon post: jobs: - publish-openstack-python-branch-tarball @@ -924,19 +956,27 @@ - stable/2023.2 voting: false # 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: required-projects: - openstack/neutron branches: - stable/2024.1 - stable/2024.2 - - master - # py3.12 testing is added as non voting from 2024.2 release onwards. + # py3.12 testing is added as non voting in 2024.2 release. - openstack-tox-py312: + required-projects: + - openstack/neutron branches: - stable/2024.2 - - master voting: false + # py3.12 testing is added as mandatory from 2025.1 release onwards. + - openstack-tox-py312: + required-projects: + - openstack/neutron + branches: + - master gate: jobs: - openstack-tox-pep8: @@ -967,22 +1007,34 @@ branches: - stable/2023.2 # 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: required-projects: - openstack/neutron branches: - stable/2024.1 - stable/2024.2 + # py3.12 testing is added as mandatory from 2025.1 release onwards. + - openstack-tox-py312: + required-projects: + - openstack/neutron + branches: - master periodic: 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. - openstack-tox-py310: branches: - master required-projects: - openstack/neutron + - openstack-tox-py311: + branches: + - master + required-projects: + - openstack/neutron post: jobs: - publish-openstack-python-branch-tarball @@ -1041,19 +1093,27 @@ - stable/2023.2 voting: false # 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: required-projects: - openstack/ceilometer branches: - stable/2024.1 - stable/2024.2 - - master - # py3.12 testing is added as non voting from 2024.2 release onwards. + # py3.12 testing is added as non voting in 2024.2 release. - openstack-tox-py312: + required-projects: + - openstack/ceilometer branches: - stable/2024.2 - - master voting: false + # py3.12 testing is added as mandatory from 2025.1 release onwards. + - openstack-tox-py312: + required-projects: + - openstack/ceilometer + branches: + - master gate: jobs: - openstack-tox-pep8: @@ -1084,22 +1144,34 @@ branches: - stable/2023.2 # 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: required-projects: - openstack/ceilometer branches: - stable/2024.1 - stable/2024.2 + # py3.12 testing is added as mandatory from 2025.1 release onwards. + - openstack-tox-py312: + required-projects: + - openstack/ceilometer + branches: - master periodic: 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. - openstack-tox-py310: branches: - master required-projects: - openstack/ceilometer + - openstack-tox-py311: + branches: + - master + required-projects: + - openstack/ceilometer post: jobs: - publish-openstack-python-branch-tarball @@ -1185,6 +1257,10 @@ - stable/2023.2 - stable/2024.1 - stable/2024.2 + # py3.12 testing is added from 2025.1 release onwards + - openstack-tox-py312-arm64: + voting: false + branches: - master - project-template: