summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Rosmaita <rosmaita.fossdev@gmail.com>2023-04-17 18:00:24 -0400
committerBrian Rosmaita <rosmaita.fossdev@gmail.com>2023-04-17 18:00:24 -0400
commit084c8a32f5abddc6ad6ebfeb804cefc504928b45 (patch)
tree8fcc7632ac069e2dfb4084831b614876c2c42603
parent0b822f1fab40c84e790f753318964d4a5748a8b6 (diff)
downloadglance-084c8a32f5abddc6ad6ebfeb804cefc504928b45.tar.gz
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] https://opendev.org/openstack/openstack-zuul-jobs/src/commit/b3cad4f7a36929c13d9c74f2de24789741aa5d85/zuul.d/jobs.yaml Change-Id: Ibc21b107878f5ba50137da4082a7cbc6342d2aa9
-rw-r--r--.zuul.yaml3
-rw-r--r--tox.ini6
2 files changed, 3 insertions, 6 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index f04d00b38..00282a891 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -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:
diff --git a/tox.ini b/tox.ini
index 8976a66c3..9a19c5b31 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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}