Files
python-cinderclient/.zuul.yaml
Brian Rosmaita b891c9980f Remove skip_missing_interpreters
This prevents a job reporting 'success' when the appropriate python
interpreter cannot be found, when actually it didn't run at all.
Also change the default envlist to use generic 'py3' instead of a
specific version which might not be present.

Also change zuul config so the python-cinderclient-functional-py36
job runs on centos-8-stream nodes, where py36 should be available.
And change bindep.txt to specify the correct package name for
centos-8.

Jeremy Stanley has given a more thorough explanation of why this
is a good change:
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014810.html

This isn't a theoretical issue.  If you look at recent
python-cinderclient-functional-py36 job results (for example,
[0]), you'll see that Zuul reported 'success', but on a closer look,
you'll see that no tests were run.

[0] https://zuul.opendev.org/t/openstack/build/1bfc80638086405f8b29905cdd6f71be/log/job-output.txt#25470

Change-Id: I2e2aa24e1592b66b287c84eda97b5079c40a36ec
2021-07-01 08:40:03 -04:00

46 lines
1.2 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
- job:
name: python-cinderclient-functional-py36
parent: python-cinderclient-functional-base
# need to specify a platform that has python 3.6 available
nodeset: devstack-single-node-centos-8-stream
vars:
python_version: 3.6
tox_envlist: functional-py36
- job:
name: python-cinderclient-functional-py38
parent: python-cinderclient-functional-base
vars:
python_version: 3.8
tox_envlist: functional-py38
- project:
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-cover-jobs
- openstack-lower-constraints-jobs
- openstack-python3-xena-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- python-cinderclient-functional-py36
- python-cinderclient-functional-py38
- openstack-tox-pylint:
voting: false