Update functional jobs for 2023.2

Based on the python runtimes for 2023.2 [0], we should be running
functional jobs on python 3.9 and python 3.10.  This patch adds
functional testenvs for python 3.10 and 3.11 (the latter for local
testing) to tox.ini so the appropriate zuul jobs can be defined.

The functional-py38 testenv is not removed from tox.ini, as it may
be useful locally.

Functional py39 and py310 jobs are added to the check and the gate.

The current openstack-functional-py38-fips job is not removed; a
py39 job has not yet been defined to replace it [1].

[0] https://governance.openstack.org/tc/reference/runtimes/2023.2.html
[1] b3cad4f7a3/zuul.d/jobs.yaml

Change-Id: Ibc21b107878f5ba50137da4082a7cbc6342d2aa9
This commit is contained in:
Brian Rosmaita 2023-04-17 18:00:24 -04:00
parent 0b822f1fab
commit 084c8a32f5
2 changed files with 3 additions and 6 deletions

View File

@ -316,6 +316,7 @@
jobs:
- openstack-tox-functional-py38-fips
- openstack-tox-functional-py39
- openstack-tox-functional-py310
- glance-tox-functional-py39-rbac-defaults
- glance-ceph-thin-provisioning:
voting: false
@ -351,8 +352,8 @@
gate:
jobs:
- openstack-tox-functional-py38
- openstack-tox-functional-py39
- openstack-tox-functional-py310
- tempest-integrated-storage:
irrelevant-files: *tempest-irrelevant-files
- tempest-integrated-storage-enforce-scope-new-defaults:

View File

@ -42,11 +42,7 @@ setenv =
TEST_PATH = ./glance/tests/functional
commands = stestr run {posargs}
[testenv:functional-py38]
setenv = {[testenv:functional]setenv}
commands = {[testenv:functional]commands}
[testenv:functional-py39]
[testenv:functional-py{38,39,310,311}]
setenv = {[testenv:functional]setenv}
commands = {[testenv:functional]commands}