rbd-iscsi-client/.zuul.yaml
Brian Rosmaita f56f42dcd8 Support Python 3.10
Add a CI job to run tests on Python 3.10, which is supported
in 2023.2 [0].

As rbd-iscsi-client is on an independent release model, it
still supports Python 3.8, so adjust .zuul.yaml and tox.ini
to use the 2023.1 upper constraints when running py38 tests.

[0] https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: I7fa0189dac8d980aa4fd5a7c8bac2f6f84ceb6d5
2023-04-18 13:35:08 +00:00

62 lines
1.7 KiB
YAML

- project:
templates:
# NOTE: we don't use the openstack-python3 jobs template here
# because being on an independent release model, we support
# more than the required pythons
- publish-openstack-docs-pti
- check-requirements
- release-notes-jobs-python3
check:
jobs:
- openstack-tox-pep8
- rbd-iscsi-client-py36
- rbd-iscsi-client-py38
- openstack-tox-py39
- openstack-tox-py310
- rbd-iscsi-client-code-coverage:
voting: false
gate:
jobs:
- openstack-tox-pep8
- rbd-iscsi-client-py36
- rbd-iscsi-client-py38
- openstack-tox-py39
- openstack-tox-py310
- job:
name: rbd-iscsi-client-code-coverage
parent: openstack-tox-cover
timeout: 2400
irrelevant-files:
- ^(test-|)requirements.txt$
- ^.*\.rst$
- ^rbd_iscsi_client/locale/.*$
- ^doc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tools/.*$
- ^tox.ini$
- job:
name: rbd-iscsi-client-py36
parent: openstack-tox-py36
# NOTE: zuul ignores TOX_CONSTRAINTS_FILE and uses upper constraints
# directly from the requirements repo, so we need to tell it to use
# the u-c from a branch that still supports py36
required-projects:
- name: openstack/requirements
override-checkout: stable/yoga
- job:
name: rbd-iscsi-client-py38
parent: openstack-tox-py38
# NOTE: zuul ignores TOX_CONSTRAINTS_FILE and uses upper constraints
# directly from the requirements repo, so we need to tell it to use
# the u-c from a branch that still supports py38
required-projects:
- name: openstack/requirements
override-checkout: stable/2023.1