Continue to use tox 3 in the stable branches. Two changes: - .zuul.yaml: set the ensure_tox_version to use <4, which will tell zuul to install tox<4 if it's not present - tox.ini: set requires=tox<4 so that if tox has been installed already, our tox-based jobs will use tox 3 to run the tests Change-Id: Ica4c0a1d4f861e528ce8995766e82541dc710e0f
60 lines
1.6 KiB
YAML
60 lines
1.6 KiB
YAML
- job:
|
|
name: python-cinderclient-functional-base
|
|
abstract: true
|
|
parent: devstack-tox-functional
|
|
timeout: 4500
|
|
required-projects:
|
|
- openstack/cinder
|
|
- openstack/python-cinderclient
|
|
vars:
|
|
openrc_enable_export: true
|
|
devstack_localrc:
|
|
USE_PYTHON3: true
|
|
VOLUME_BACKING_FILE_SIZE: 16G
|
|
CINDER_QUOTA_VOLUMES: 25
|
|
CINDER_QUOTA_BACKUPS: 25
|
|
CINDER_QUOTA_SNAPSHOTS: 25
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
- ^cinderclient/tests/unit/.*$
|
|
|
|
- job:
|
|
name: python-cinderclient-functional-py38
|
|
parent: python-cinderclient-functional-base
|
|
# need to specify a platform that has python 3.8 available
|
|
nodeset: openstack-single-node-focal
|
|
vars:
|
|
python_version: 3.8
|
|
tox_envlist: functional-py38
|
|
|
|
- job:
|
|
name: python-cinderclient-functional-py39
|
|
parent: python-cinderclient-functional-base
|
|
nodeset: devstack-single-node-centos-9-stream
|
|
vars:
|
|
python_version: 3.9
|
|
tox_envlist: functional-py39
|
|
|
|
- project:
|
|
vars:
|
|
ensure_tox_version: '<4'
|
|
templates:
|
|
- check-requirements
|
|
- lib-forward-testing-python3
|
|
- openstack-cover-jobs
|
|
- openstack-python3-zed-jobs
|
|
- publish-openstack-docs-pti
|
|
- release-notes-jobs-python3
|
|
check:
|
|
jobs:
|
|
- python-cinderclient-functional-py38
|
|
- python-cinderclient-functional-py39
|
|
- openstack-tox-pylint:
|
|
voting: false
|
|
gate:
|
|
jobs:
|
|
- python-cinderclient-functional-py38
|
|
- python-cinderclient-functional-py39
|