Files
charm-zuul-jobs/zuul.d/project-templates.yaml
Brian Haley afdbfe7f7d Add jobs and templates for charm stable branches
Define py3* and cover job templates, and pep8 and cover
job definitions for the stable branches that use the
LTS-keyword names like stable/jammy, etc. so we do not
pollute the openstack-zuul-jobs repo which uses
Openstack-keyword names.

Updated ansible requirements and disabled some checks to
pass linters job.

Change-Id: I59cb57c9d5dc0a2aa09127497516c7181e9ff008
2024-12-12 16:00:43 -05:00

89 lines
2.5 KiB
YAML

- project-template:
name: microk8s-func-test
description: |
This project template is defined to run zaza functional tests
inside microk8s
check:
jobs:
- charmbuild:
nodeset: ubuntu-focal
- zaza-smoke-test:
nodeset: ubuntu-focal
- project-template:
name: prometheus-alert-rules-test
description: |
This project template is defined to run prometheus alert rules
tests
check:
jobs:
- prometheus-alert-rules-test:
nodeset: ubuntu-focal
- project-template:
name: openstack-python3-charm-jobs-focal
description: |
Runs unit tests for an OpenStack Charm project under the CPython
version 3 releases designated for testing across OpenStack
releases on Focal stable branches.
check:
jobs:
- openstack-tox-pep8-charm-focal
- openstack-tox-py38
- openstack-tox-py310:
voting: false
gate:
jobs:
- openstack-tox-pep8-charm-focal
- openstack-tox-py38
- project-template:
# NOTE(haleyb): this should have py310 voting in check and gate,
# but will change in follow-on since this is what is done today
name: openstack-python3-charm-jobs-jammy
description: |
Runs unit tests for an OpenStack Charm project under the CPython
version 3 releases designated for testing across OpenStack
releases on Jammy stable branches.
check:
jobs:
- openstack-tox-pep8-charm-jammy
- openstack-tox-py38
- openstack-tox-py310:
voting: false
gate:
jobs:
- openstack-tox-pep8-charm-jammy
- openstack-tox-py38
- project-template:
name: openstack-python3-charm-jobs-noble
description: |
Runs unit tests for an OpenStack Charm project under the CPython
version 3 releases designated for testing across OpenStack
releases on Noble stable branches.
check:
jobs:
- openstack-tox-pep8-charm-noble
- openstack-tox-py312
gate:
jobs:
- openstack-tox-pep8-charm-noble
- openstack-tox-py312
- project-template:
name: openstack-cover-charm-jobs
description: |
Runs openstack-tox-cover in only the check pipeline.
check:
jobs:
- openstack-tox-cover-charm-focal:
branches:
- stable/focal
- openstack-tox-cover-charm-jammy:
branches:
- stable/jammy
- openstack-tox-cover-charm-noble:
branches:
- stable/noble