Merge "Moving functional jobs to Victoria testing runtime"

This commit is contained in:
Zuul 2020-05-13 07:13:26 +00:00 committed by Gerrit Code Review
commit ef3b570732
3 changed files with 16 additions and 33 deletions

View File

@ -30,12 +30,12 @@
- ^tox.ini$
- job:
name: nova-tox-functional-py36
parent: openstack-tox-functional-py36
name: nova-tox-functional-py38
parent: openstack-tox-functional-py38
description: |
Run tox-based functional tests for the OpenStack Nova project
under cPython version 3.6 with Nova specific irrelevant-files list.
Uses tox with the ``functional-py36`` environment.
under cPython version 3.8 with Nova specific irrelevant-files list.
Uses tox with the ``functional-py38`` environment.
This job also provides a parent for other projects to run the nova
functional tests on their own changes.
@ -53,29 +53,7 @@
# explicitly stating the work dir makes this job reusable by other
# projects
zuul_work_dir: src/opendev.org/openstack/nova
bindep_profile: test py36
timeout: 3600
- job:
name: nova-tox-functional-py37
parent: openstack-tox-functional-py37
description: |
Run tox-based functional tests for the OpenStack Nova project
under cPython version 3.7 with Nova specific irrelevant-files list.
Uses tox with the ``functional-py37`` environment.
This job also provides a parent for other projects to run the nova
functional tests on their own changes.
required-projects:
# including nova here makes this job reusable by other projects
- openstack/nova
- openstack/placement
irrelevant-files: *functional-irrelevant-files
vars:
# explicitly stating the work dir makes this job reusable by other
# projects
zuul_work_dir: src/opendev.org/openstack/nova
bindep_profile: test py37
bindep_profile: test py38
timeout: 3600
- job:
@ -377,7 +355,7 @@
- nova-lvm
- nova-multi-cell
- nova-next
- nova-tox-functional-py36
- nova-tox-functional-py38
- tempest-integrated-compute:
# NOTE(gmann): Policies changes do not need to run all the
# integration test jobs. Running only tempest and grenade
@ -410,7 +388,7 @@
jobs:
- nova-grenade-multinode
- nova-live-migration
- nova-tox-functional-py36
- nova-tox-functional-py38
- nova-multi-cell
- nova-next
- tempest-integrated-compute:
@ -452,9 +430,6 @@
irrelevant-files: *dsvm-irrelevant-files
- os-vif-ovs:
irrelevant-files: *dsvm-irrelevant-files
# NOTE(mriedem): Consider moving nova-tox-functional-py37 to the
# check and gate queues once it's stable (like openstack-python37-jobs)
- nova-tox-functional-py37
- devstack-platform-fedora-latest:
irrelevant-files: *dsvm-irrelevant-files
- devstack-platform-fedora-latest-virt-preview:

View File

@ -17,6 +17,7 @@ classifier =
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython

View File

@ -1,6 +1,6 @@
[tox]
minversion = 3.1.1
envlist = py37,functional,pep8
envlist = py38,functional,pep8
# Automatic envs (pyXX) will only use the python version appropriate to that
# env and ignore basepython inherited from [testenv] if we set
# ignore_basepython_conflict.
@ -102,6 +102,13 @@ deps = {[testenv:functional]deps}
commands =
{[testenv:functional]commands}
[testenv:functional-py38]
description =
Run functional tests using python3.8.
deps = {[testenv:functional]deps}
commands =
{[testenv:functional]commands}
[testenv:api-samples]
setenv =
{[testenv]setenv}