Files
python-swiftclient/.zuul.yaml
Tim Burke eb5d5d464c Clean up CI jobs
We no longer need our own py311 job; there is now an openstack-tox-py311
included in openstack-python3-jobs (though we want to make it voting).

Additionally, that template has marked py39 and py310 jobs as voting, so
we no longer need to do that ourselves.

Change-Id: Ie964678af069d5255e463ef22b1b53957d28f918
2023-08-25 09:43:43 -07:00

59 lines
1.8 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
vars:
# New tox keeps breaking things as of 2023-01
ensure_tox_version: '<4'
- 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-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
experimental:
# on-demand pipeline used to test older (but still supported) versions of python
jobs:
- openstack-tox-py36
- openstack-tox-py37
check:
jobs:
- swiftclient-swift-functional
- swiftclient-functional
- openstack-tox-py311:
voting: true
gate:
jobs:
- swiftclient-swift-functional
- swiftclient-functional
- openstack-tox-py311:
voting: true
post:
jobs:
- openstack-tox-cover