Browse Source

Updating tests with Yoga testing runtime

Yoga testing runtime is updated now
- https://governance.openstack.org/tc/reference/runtimes/yoga.html

which needs to test py38 and py39. Unit tests update are
handled by the job template change in openstack-zuul-job and
this commit makes changes to fucntional job to run py39 as voting
and updating the metdata in setup file.

Change-Id: I314fd61f20f2c3551f6231d191b7dcaaefabd2b5
changes/94/819194/3
Ghanshyam Mann 2 months ago
committed by Ghanshyam
parent
commit
9dd0070ce6
  1. 37
      .zuul.yaml
  2. 3
      setup.cfg
  3. 2
      tox.ini

37
.zuul.yaml

@ -2,13 +2,12 @@
# for job naming conventions.
- job:
name: nova-tox-functional-centos8-py36
parent: openstack-tox-functional-py36
nodeset: devstack-single-node-centos-8
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.
@ -22,28 +21,6 @@
- ^doc/(source|test)/.*$
- ^nova/locale/.*$
- ^releasenotes/.*$
vars:
# 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-py38
parent: openstack-tox-functional-py38
description: |
Run tox-based functional tests for the OpenStack Nova project
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.
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
@ -538,10 +515,8 @@
- nova-next
- nova-tox-validate-backport:
voting: false
- nova-tox-functional-centos8-py36
- nova-tox-functional-py38
- nova-tox-functional-py39:
voting: false
- nova-tox-functional-py39
- tempest-integrated-compute:
# NOTE(gmann): Policies changes do not need to run all the
# integration test jobs. Running only tempest and grenade
@ -579,8 +554,8 @@
jobs:
- nova-live-migration
- nova-live-migration-ceph
- nova-tox-functional-centos8-py36
- nova-tox-functional-py38
- nova-tox-functional-py39
- nova-multi-cell
- nova-next
- nova-tox-validate-backport

3
setup.cfg

@ -20,9 +20,8 @@ classifiers =
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython

2
tox.ini

@ -1,6 +1,6 @@
[tox]
minversion = 3.18.0
envlist = py38,functional,pep8
envlist = py39,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.

Loading…
Cancel
Save