From a153fea6628a5495b934da50e67eed66e431d53d Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Thu, 14 Jan 2021 14:38:55 -0600 Subject: [PATCH] Add Python3 project templates for Xena release As per TC resolution[1] on updating the python version for testing, this commit defines the job template to be used for testing the defined testing runtime for Xena release (Depends-On). Depends-On: https://review.opendev.org/c/openstack/governance/+/770860 [1] https://governance.openstack.org/tc/resolutions/20181024-python-update-process.html Change-Id: Ifd36d3cca4957077770b6cff424d3a5af98981dd --- zuul.d/project-templates.yaml | 132 ++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) diff --git a/zuul.d/project-templates.yaml b/zuul.d/project-templates.yaml index 2f67ce1a..ff149b51 100644 --- a/zuul.d/project-templates.yaml +++ b/zuul.d/project-templates.yaml @@ -476,6 +476,138 @@ - openstack-tox-py36 - openstack-tox-py38 +- project-template: + name: openstack-python3-xena-jobs + description: | + Runs unit tests for an OpenStack Python project under the CPython + version 3 releases designated for testing in the Xena release. + check: + jobs: + - openstack-tox-pep8 + - openstack-tox-py36 + - openstack-tox-py38 + - openstack-tox-py39: + voting: false + gate: + jobs: + - openstack-tox-pep8 + - openstack-tox-py36 + - openstack-tox-py38 + post: + jobs: + - publish-openstack-python-branch-tarball + +- project-template: + name: openstack-python3-xena-jobs-horizon + description: | + The standard :zuul:project_template:`openstack-python3-xena-jobs` + but with horizon added as a required-projects. This checks out + the project code and allows tox_install_siblings to use horizon + when building the venv. + check: + jobs: + - openstack-tox-pep8: + required-projects: + - openstack/horizon + - openstack-tox-py36: + required-projects: + - openstack/horizon + - openstack-tox-py38: + required-projects: + - openstack/horizon + - openstack-tox-py39: + required-projects: + - openstack/horizon + voting: false + gate: + jobs: + - openstack-tox-pep8: + required-projects: + - openstack/horizon + - openstack-tox-py36: + required-projects: + - openstack/horizon + - openstack-tox-py38: + required-projects: + - openstack/horizon + post: + jobs: + - publish-openstack-python-branch-tarball + +- project-template: + name: openstack-python3-xena-jobs-neutron + description: | + The standard :zuul:project_template:`openstack-python3-xena-jobs` + but with neutron added as a required-projects. This checks out + the project code and allows tox_install_siblings to use neutron + when building the venv. + check: + jobs: + - openstack-tox-pep8: + required-projects: + - openstack/neutron + - openstack-tox-py36: + required-projects: + - openstack/neutron + - openstack-tox-py38: + required-projects: + - openstack/neutron + - openstack-tox-py39: + required-projects: + - openstack/neutron + voting: false + gate: + jobs: + - openstack-tox-pep8: + required-projects: + - openstack/neutron + - openstack-tox-py36: + required-projects: + - openstack/neutron + - openstack-tox-py38: + required-projects: + - openstack/neutron + post: + jobs: + - publish-openstack-python-branch-tarball + +- project-template: + name: openstack-python3-xena-jobs-ceilometer + description: | + The standard :zuul:project_template:`openstack-python3-xena-jobs` + but with ceilometer added as a required-projects. This checks out + the project code and allows tox_install_siblings to use ceilometer + when building the venv. + check: + jobs: + - openstack-tox-pep8: + required-projects: + - openstack/ceilometer + - openstack-tox-py36: + required-projects: + - openstack/ceilometer + - openstack-tox-py38: + required-projects: + - openstack/ceilometer + - openstack-tox-py39: + required-projects: + - openstack/ceilometer + voting: false + gate: + jobs: + - openstack-tox-pep8: + required-projects: + - openstack/ceilometer + - openstack-tox-py36: + required-projects: + - openstack/ceilometer + - openstack-tox-py38: + required-projects: + - openstack/ceilometer + post: + jobs: + - publish-openstack-python-branch-tarball + - project-template: name: openstack-python3-wallaby-jobs description: |