python-swiftclient/.zuul.yaml
Stephen Finucane 2636965f38 Drop support for Python 2
There's a lot of cleanup possible, but this is a start.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: Ia1176b7fd5434d52070d482a37abfbb98800cdb3
2022-03-16 15:06:19 -07:00

51 lines
1.6 KiB
YAML

- job:
name: swiftclient-swift-functional
parent: swift-dsvm-functional
description: |
Run swift's functional tests with python-swiftclient
installed from source instead as package from PyPI.
# Ensure that we install python-swiftclient from git and
# do not install from pypi. This is needed since the parent
# job sets zuul_work_dir to the swift directory and uses tox
# for installation.
required-projects:
- opendev.org/openstack/python-swiftclient
- job:
name: swiftclient-functional
parent: swift-dsvm-functional
description: |
Run functional tests of python-swiftclient with
python-swiftclient installed from source instead as package from
PyPI.
required-projects:
- opendev.org/openstack/python-swiftclient
vars:
# Override value from parent job to use swiftclient tests
zuul_work_dir: "{{ zuul.projects['opendev.org/openstack/python-swiftclient'].src_dir }}"
# swift can use different tox env names
tox_envlist: func
- project:
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-python3-zed-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- swiftclient-swift-functional
- swiftclient-functional
- openstack-tox-py39:
voting: true
gate:
jobs:
- swiftclient-swift-functional
- swiftclient-functional
- openstack-tox-py39:
voting: true
post:
jobs:
- openstack-tox-cover