requirements/.zuul.d/cross-jobs.yaml
Dr. Jens Harbott 1b9d738d89 Switch cross tests to python3.12
It makes sense to run the cross tests with the latest available python
version, which is python 3.12 for this cycle.

Also make the reqs checks for py3.12 voting and add an experimental
requirements-tox-py312-check-uc-no-wheels job.

Change-Id: I4f4abb7a71beff8c107bf8b4204c428928f15ab9
2024-11-05 17:49:45 +01:00

246 lines
6.9 KiB
YAML

- job:
name: requirements-cross-test
parent: openstack-tox
timeout: 2400
description: |
A parent job to perform cross-repository tests.
Inherit from this job, and add the intended project to
``required-projects``.
Also, set the following variable:
.. zuul:jobvar:: tox_envlist
Use the specified tox environments (``ALL`` selects all).
nodeset: ubuntu-noble
vars:
zuul_work_dir: "{{ (zuul.projects.values() | selectattr('required') | selectattr('name', 'match', '^(?!openstack/requirements)') | list)[0].src_dir }}"
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
files:
- upper-constraints.txt
- .zuul.d/cross-jobs.yaml
- job:
name: cross-aodh-py312
parent: requirements-cross-test
description: Run cross-project tests on aodh with py312.
required-projects: openstack/aodh
vars:
tox_envlist: py312
- job:
name: cross-barbican-py312
parent: requirements-cross-test
description: Run cross-project tests on barbican with py312.
required-projects: openstack/barbican
vars:
tox_envlist: py312
- job:
name: cross-ceilometer-py312
parent: requirements-cross-test
description: Run cross-project tests on ceilometer with py312.
required-projects: openstack/ceilometer
vars:
tox_envlist: py312
- job:
name: cross-cinder-py312
parent: requirements-cross-test
description: Run cross-project tests on cinder with py312.
required-projects: openstack/cinder
vars:
tox_envlist: py312
- job:
name: cross-designate-py312
parent: requirements-cross-test
description: Run cross-project tests on designate with py312.
required-projects: openstack/designate
vars:
tox_envlist: py312
- job:
name: cross-glance-py312
parent: requirements-cross-test
description: Run cross-project tests on glance with py312.
required-projects: openstack/glance
vars:
tox_envlist: py312
- job:
name: cross-heat-py312
parent: requirements-cross-test
description: Run cross-project tests on heat with py312.
required-projects: openstack/heat
vars:
tox_envlist: py312
- job:
name: cross-horizon-py312
parent: requirements-cross-test
description: Run cross-project tests on horizon with py312.
required-projects: openstack/horizon
vars:
tox_envlist: py312
- job:
name: cross-horizon-npm
parent: horizon-nodejs20-run-test
timeout: 2400
description: Run cross-project tests on horizon with npm.
required-projects: openstack/horizon
vars:
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
tox_envlist: npm
zuul_work_dir: "{{ (zuul.projects.values() | selectattr('required') | selectattr('name', 'match', '^(?!openstack/requirements)') | list)[0].src_dir }}"
pre-run: playbooks/nodejs-pre.yaml
files:
- upper-constraints.txt
- .zuul.d/cross-jobs.yaml
- job:
name: cross-keystone-py312
parent: requirements-cross-test
description: Run cross-project tests on keystone with py312.
required-projects: openstack/keystone
timeout: 3600
vars:
tox_envlist: py312
- job:
name: cross-kuryr-py312
parent: requirements-cross-test
description: Run cross-project tests on kuryr-kubernetes with py312.
required-projects: openstack/kuryr-kubernetes
vars:
tox_envlist: py312
- job:
name: cross-ironic-py312
parent: requirements-cross-test
description: Run cross-project tests on ironic with py312.
required-projects: openstack/ironic
vars:
tox_envlist: py312
- job:
name: cross-magnum-py312
parent: requirements-cross-test
description: Run cross-project tests on magnum with py312.
required-projects: openstack/magnum
vars:
tox_envlist: py312
- job:
name: cross-manila-py312
parent: requirements-cross-test
description: Run cross-project tests on manila with py312.
required-projects: openstack/manila
vars:
tox_envlist: py312
- job:
name: cross-masakari-py312
parent: requirements-cross-test
description: Run cross-project tests on masakari with py312.
required-projects: openstack/masakari
vars:
tox_envlist: py312
- job:
name: cross-mistral-py312
parent: requirements-cross-test
description: Run cross-project tests on mistral with py312.
required-projects: openstack/mistral
vars:
tox_envlist: py312
- job:
name: cross-neutron-py312
parent: requirements-cross-test
description: Run cross-project tests on neutron with py312.
required-projects: openstack/neutron
timeout: 3600
vars:
tox_envlist: py312
- job:
name: cross-nova-functional
parent: requirements-cross-test
description: Run cross-project functional tests on nova.
required-projects: openstack/nova
vars:
tox_envlist: functional
- job:
name: cross-placement-functional-py312
parent: requirements-cross-test
description: Run cross-project functional tests on placement with py312.
required-projects: openstack/placement
vars:
tox_envlist: functional-py312
- job:
name: cross-nova-pep8
parent: requirements-cross-test
description: Run cross-project tests on nova with pep8.
required-projects: openstack/nova
vars:
tox_envlist: pep8
- job:
name: cross-nova-py312
parent: requirements-cross-test
description: Run cross-project tests on nova with py312.
required-projects: openstack/nova
vars:
tox_envlist: py312
- job:
name: cross-placement-py312
parent: requirements-cross-test
description: Run cross-project tests on placement with py312.
required-projects: openstack/placement
vars:
tox_envlist: py312
- job:
name: cross-osvif-py3
parent: requirements-cross-test
description: Run cross-project tests on os-vif with py3.
required-projects: openstack/os-vif
vars:
tox_envlist: py3
- job:
name: cross-octavia-py312
parent: requirements-cross-test
description: Run cross-project tests on octavia with py312.
required-projects: openstack/octavia
vars:
tox_envlist: py312
- job:
name: cross-swift-py312
parent: requirements-cross-test
description: Run cross-project tests on swift with py312.
required-projects: openstack/swift
vars:
tox_envlist: py312
- job:
name: cross-osc-tox-docs
parent: openstack-tox-docs
description: |
Run cross-project tests on python-openstackclient with
openstack-tox-docs.
vars:
zuul_work_dir: src/opendev.org/openstack/python-openstackclient
required-projects:
- openstack/python-openstackclient
files:
- upper-constraints.txt
- .zuul.d/cross-jobs.yaml