From b4f204c6263af9097b1b977109837690eb877c9f Mon Sep 17 00:00:00 2001 From: Brian Haley Date: Wed, 1 Oct 2025 11:43:57 -0400 Subject: [PATCH] Add 'legacy' charm templates Treat branches named 'legacy' as if they were jammy-based. Change-Id: I10e32f1be492bfc868a2308ecb82e3537ae452b3 Signed-off-by: Brian Haley --- zuul.d/jobs.yaml | 1 + zuul.d/project-templates.yaml | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index dacff17..0a25e63 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -42,6 +42,7 @@ - ^.*/jammy - ^.*/yoga - ^.*/2024.1 + - legacy - job: name: openstack-tox-pep8-charm-noble diff --git a/zuul.d/project-templates.yaml b/zuul.d/project-templates.yaml index 16f0951..a644f83 100644 --- a/zuul.d/project-templates.yaml +++ b/zuul.d/project-templates.yaml @@ -83,6 +83,7 @@ - stable/jammy - stable/yoga - stable/2024.1 + - legacy - openstack-tox-cover-charm-noble: branches: - stable/noble @@ -137,3 +138,19 @@ jobs: - openstack-tox-pep8-charm-jammy - openstack-tox-py310 + +- project-template: + name: openstack-python3-charm-jobs-legacy + description: | + Runs unit tests for an OpenStack Charm project under the CPython + version 3 releases designated for testing across OpenStack + releases on 'legacy' stable branches. These are the same jobs + as stable/2024.1. + check: + jobs: + - openstack-tox-pep8-charm-jammy + - openstack-tox-py310 + gate: + jobs: + - openstack-tox-pep8-charm-jammy + - openstack-tox-py310