From 77eea99bb8d908a4e36140cf2902a4986a93f86e Mon Sep 17 00:00:00 2001 From: Brian Haley Date: Tue, 31 Oct 2023 15:13:06 -0400 Subject: [PATCH] Create py311 jobs for neutron There are three job definitions here for testing neutron with the master branches of other projects, specifically neutron-lib, oslo, and ovsdbapp. As neutron is no longer testing py310 in its master gate, create py311 versions of these jobs so we can move forward. Also changed the periodic jobs here to start using the py311 versions. Change-Id: I28e1d41ebd36fbbe9ed3e4c18dd9604a906af043 --- zuul.d/jobs.yaml | 49 +++++++++++++++++++++++++++++++++++ zuul.d/project-templates.yaml | 6 ++--- 2 files changed, 52 insertions(+), 3 deletions(-) diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 93bc8633..a37bd049 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -1034,6 +1034,22 @@ vars: tox_install_siblings: true +- job: + name: openstack-tox-py311-with-oslo-master + parent: openstack-tox-py311 + nodeset: ubuntu-jammy + description: | + This job installs all oslo libraries from source and tests that the + unit tests of the tested project work. + It uses the tox ``py311`` environment. + The job is normally run in a periodic pipeline, it is configured + to run on the master branch. + required-projects: *oslo-master-required-projects + branches: master + timeout: 3000 + vars: + tox_install_siblings: true + - job: name: openstack-tox-py39-with-neutron-lib-master parent: openstack-tox-py39 @@ -1068,6 +1084,23 @@ vars: tox_install_siblings: true +- job: + name: openstack-tox-py311-with-neutron-lib-master + parent: openstack-tox-py311 + timeout: 3000 + description: | + This job installs neutron-lib from source and tests that the + unit tests of the tested project work. + It uses the tox ``py311`` environment. + The job is normally run in a periodic pipeline, it is configured + to run on the master branch. + branches: master + required-projects: + - openstack/neutron + - openstack/neutron-lib + vars: + tox_install_siblings: true + - job: name: openstack-tox-py310-with-ovsdbapp-master parent: openstack-tox-py310 @@ -1084,6 +1117,22 @@ vars: tox_install_siblings: true +- job: + name: openstack-tox-py311-with-ovsdbapp-master + parent: openstack-tox-py311 + timeout: 3000 + description: | + This job installs ovsdbapp from source and tests that the + unit tests of the tested project work. + It uses the tox ``py311`` environment. + The job is normally run in a periodic pipeline, it is configured + to run on the master branch. + branches: master + required-projects: + - openstack/ovsdbapp + vars: + tox_install_siblings: true + - job: name: openstack-tox-lower-constraints parent: openstack-tox diff --git a/zuul.d/project-templates.yaml b/zuul.d/project-templates.yaml index e2a017a8..fe57bc30 100644 --- a/zuul.d/project-templates.yaml +++ b/zuul.d/project-templates.yaml @@ -2953,7 +2953,7 @@ neutron-lib from source. periodic: jobs: - - openstack-tox-py310-with-neutron-lib-master + - openstack-tox-py311-with-neutron-lib-master - project-template: name: periodic-jobs-with-oslo-master @@ -2962,7 +2962,7 @@ oslo libraries from source. periodic: jobs: - - openstack-tox-py310-with-oslo-master + - openstack-tox-py311-with-oslo-master - project-template: name: periodic-jobs-with-ovsdbapp-master @@ -2971,7 +2971,7 @@ ovdsdbapp from source. periodic: jobs: - - openstack-tox-py310-with-ovsdbapp-master + - openstack-tox-py311-with-ovsdbapp-master - project-template: name: python-charm-interface-jobs