python-swiftclient/.zuul.yaml
Ghanshyam Mann 9f69908f75 [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

- Keep py2 functional job run on Bionic node

Story: #2007865
Task: #40221

Change-Id: I578abeb1552d73a2e5c5a24ba7afab975508ea0c
2020-09-19 01:39:35 +00:00

62 lines
1.9 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 }}"
- job:
name: swiftclient-functional-py2
parent: swiftclient-functional
nodeset: openstack-single-node-bionic
description: |
Run functional tests of python-swiftclient under Python 2
vars:
tox_envlist: py2func
- project:
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-lower-constraints-jobs
- openstack-python-jobs
- openstack-python3-victoria-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- swiftclient-swift-functional
- swiftclient-functional
- swiftclient-functional-py2
- openstack-tox-py38:
voting: true
gate:
jobs:
- swiftclient-swift-functional
- swiftclient-functional
- swiftclient-functional-py2
- openstack-tox-py38:
voting: true
post:
jobs:
- openstack-tox-cover