Merge "Updating python testing as per Yoga testing runtime"

This commit is contained in:
Zuul 2022-01-21 10:50:44 +00:00 committed by Gerrit Code Review
commit e0413eb56c
3 changed files with 57 additions and 46 deletions

View File

@ -48,23 +48,23 @@
- name: openstack/taskflow
- job:
name: glance-tox-functional-py38-rbac-defaults
parent: openstack-tox-functional-py38
name: glance-tox-functional-py39-rbac-defaults
parent: openstack-tox-functional-py39
voting: false
description: |
Glance py38 functional tests with enforce_secure_rbac=True
Glance py39 functional tests with enforce_secure_rbac=True
vars:
python_version: 3.8
tox_envlist: functional-py38-rbac
python_version: 3.9
tox_envlist: functional-py39-rbac
- job:
name: glance-tox-functional-py38-oslo-tips
name: glance-tox-functional-py39-oslo-tips
parent: glance-tox-oslo-tips-base
description: |
Glance py38 functional tests vs. oslo libraries masters
Glance py39 functional tests vs. oslo libraries masters
vars:
python_version: 3.8
tox_envlist: functional-py38
python_version: 3.9
tox_envlist: functional-py39
- job:
name: glance-tox-functional-py36-oslo-tips
@ -89,13 +89,13 @@
- name: openstack/python-keystoneclient
- job:
name: glance-tox-py38-keystone-tips
name: glance-tox-py39-keystone-tips
parent: glance-tox-keystone-tips-base
description: |
Glance py38 unit tests vs. keystone masters
Glance py39 unit tests vs. keystone masters
vars:
python_version: 3.8
tox_envlist: py38
python_version: 3.9
tox_envlist: py39
- job:
name: glance-tox-py36-keystone-tips
@ -108,13 +108,13 @@
tox_envlist: py36
- job:
name: glance-tox-functional-py38-keystone-tips
name: glance-tox-functional-py39-keystone-tips
parent: glance-tox-keystone-tips-base
description: |
Glance py38 functional tests vs. keystone masters
Glance py39 functional tests vs. keystone masters
vars:
python_version: 3.8
tox_envlist: functional-py38
python_version: 3.9
tox_envlist: functional-py39
- job:
name: glance-tox-functional-py36-keystone-tips
@ -137,13 +137,13 @@
- name: openstack/glance_store
- job:
name: glance-tox-py38-glance_store-tips
name: glance-tox-py39-glance_store-tips
parent: glance-tox-glance_store-tips-base
description: |
Glance py38 unit tests vs. glance_store master
Glance py39 unit tests vs. glance_store master
vars:
python_version: 3.8
tox_envlist: py38
python_version: 3.9
tox_envlist: py39
- job:
name: glance-tox-py36-glance_store-tips
@ -156,13 +156,13 @@
tox_envlist: py36
- job:
name: glance-tox-functional-py38-glance_store-tips
name: glance-tox-functional-py39-glance_store-tips
parent: glance-tox-glance_store-tips-base
description: |
Glance py38 functional tests vs. glance_store master
Glance py39 functional tests vs. glance_store master
vars:
python_version: 3.8
tox_envlist: functional-py38
python_version: 3.9
tox_envlist: functional-py39
- job:
name: glance-tox-functional-py36-glance_store-tips
@ -187,13 +187,13 @@
- name: openstack/castellan
- job:
name: glance-tox-py38-cursive-tips
name: glance-tox-py39-cursive-tips
parent: glance-tox-cursive-tips-base
description: |
Glance py38 unit tests vs. cursive (and related libs) master
Glance py39 unit tests vs. cursive (and related libs) master
vars:
python_version: 3.8
tox_envlist: py38
python_version: 3.9
tox_envlist: py39
- job:
name: glance-tox-py36-cursive-tips
@ -206,13 +206,13 @@
tox_envlist: py36
- job:
name: glance-tox-functional-py38-cursive-tips
name: glance-tox-functional-py39-cursive-tips
parent: glance-tox-cursive-tips-base
description: |
Glance py38 functional tests vs. cursive (and related libs) master
Glance py39 functional tests vs. cursive (and related libs) master
vars:
python_version: 3.8
tox_envlist: functional-py38
python_version: 3.9
tox_envlist: functional-py39
- job:
name: glance-tox-functional-py36-cursive-tips
@ -304,8 +304,8 @@
check:
jobs:
- openstack-tox-functional-py36
- openstack-tox-functional-py38
- glance-tox-functional-py38-rbac-defaults
- openstack-tox-functional-py39
- glance-tox-functional-py39-rbac-defaults
- glance-code-constants-check
- glance-ceph-thin-provisioning:
voting: false
@ -340,7 +340,7 @@
gate:
jobs:
- openstack-tox-functional-py36
- openstack-tox-functional-py38
- openstack-tox-functional-py39
- tempest-integrated-storage:
irrelevant-files: *tempest-irrelevant-files
- tempest-integrated-storage-import:
@ -356,9 +356,9 @@
- glance-secure-rbac-protection-functional
experimental:
jobs:
- glance-tox-py38-glance_store-tips
- glance-tox-py39-glance_store-tips
- glance-tox-py36-glance_store-tips
- glance-tox-functional-py38-glance_store-tips
- glance-tox-functional-py39-glance_store-tips
- glance-tox-functional-py36-glance_store-tips
- barbican-tempest-plugin-simple-crypto
- grenade-multinode
@ -378,31 +378,31 @@
# to define these jobs in the openstack/project-config repo.
# That would make us less agile in adjusting these tests, so we
# aren't doing that either.
- glance-tox-functional-py38-oslo-tips:
- glance-tox-functional-py39-oslo-tips:
branches: master
- glance-tox-functional-py36-oslo-tips:
branches: master
- glance-tox-py38-keystone-tips:
- glance-tox-py39-keystone-tips:
branches: master
- glance-tox-py36-keystone-tips:
branches: master
- glance-tox-functional-py38-keystone-tips:
- glance-tox-functional-py39-keystone-tips:
branches: master
- glance-tox-functional-py36-keystone-tips:
branches: master
- glance-tox-py38-glance_store-tips:
- glance-tox-py39-glance_store-tips:
branches: master
- glance-tox-py36-glance_store-tips:
branches: master
- glance-tox-functional-py38-glance_store-tips:
- glance-tox-functional-py39-glance_store-tips:
branches: master
- glance-tox-functional-py36-glance_store-tips:
branches: master
- glance-tox-py38-cursive-tips:
- glance-tox-py39-cursive-tips:
branches: master
- glance-tox-py36-cursive-tips:
branches: master
- glance-tox-functional-py38-cursive-tips:
- glance-tox-functional-py39-cursive-tips:
branches: master
- glance-tox-functional-py36-cursive-tips:
branches: master

View File

@ -18,6 +18,7 @@ classifier =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
[files]
data_files =

12
tox.ini
View File

@ -1,7 +1,7 @@
[tox]
minversion = 3.18.0
# python runtimes: https://governance.openstack.org/tc/reference/runtimes/ussuri.html
envlist = functional-py38,py38,py36,pep8
envlist = functional-py39,py39,py36,pep8
skipsdist = True
skip_missing_interpreters = true
# this allows tox to infer the base python from the environment name
@ -64,6 +64,12 @@ setenv =
OS_GLANCE_TEST_RBAC_DEFAULTS = True
commands = {[testenv:functional]commands}
[testenv:functional-py39-rbac]
setenv =
{[testenv:functional]setenv}
OS_GLANCE_TEST_RBAC_DEFAULTS = True
commands = {[testenv:functional]commands}
[testenv:genpolicy]
basepython = python3
commands =
@ -192,3 +198,7 @@ commands =
[testenv:debug-py38]
commands =
oslo_debug_helper {posargs}
[testenv:debug-py39]
commands =
oslo_debug_helper {posargs}