From 3e81a5e1fadcb64ef4eff04ad29f601f7e61eace Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Fri, 10 Apr 2020 09:37:22 -0500 Subject: [PATCH] Add Python3 project templates for Victoria release Following the process set down in the TC resolution on updating Python versions: https://governance.openstack.org/tc/resolutions/20181024-python-update-process.html this change adds the Zuul template for Python 3 unit test jobs in the Victoria release. The selected python versions are defined in: https://governance.openstack.org/tc/reference/runtimes/victoria.html Change-Id: Ic872ab38568536f7bd25d593f80c2d6aa8379b01 Signed-off-by: Sean McGinnis --- zuul.d/project-templates.yaml | 118 ++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) diff --git a/zuul.d/project-templates.yaml b/zuul.d/project-templates.yaml index 79256bd2..b0118d42 100644 --- a/zuul.d/project-templates.yaml +++ b/zuul.d/project-templates.yaml @@ -453,6 +453,124 @@ required-projects: - openstack/neutron +- project-template: + name: openstack-python3-victoria-jobs + description: | + Runs unit tests for an OpenStack Python project under the CPython + version 3 releases designated for testing in the Victoria release. + check: + jobs: + - openstack-tox-pep8 + - openstack-tox-py36 + - openstack-tox-py38 + gate: + jobs: + - openstack-tox-pep8 + - openstack-tox-py36 + - openstack-tox-py38 + post: + jobs: + - publish-openstack-python-branch-tarball + +- project-template: + name: openstack-python3-victoria-jobs-horizon + description: | + The standard :zuul:project_template:`openstack-python3-victoria-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 + 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-victoria-jobs-neutron + description: | + The standard :zuul:project_template:`openstack-python3-victoria-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 + 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-victoria-jobs-ceilometer + description: | + The standard :zuul:project_template:`openstack-python3-victoria-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 + 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-ussuri-jobs description: |