python-brick-cinderclient-ext/.zuul.yaml
Brian Rosmaita c43cadf1ca Remove Python 2.7 support from testing and gates
Makes Python 3 the base python for all tox venvs and removes
py2 jobs from zuul.yaml.  Defines functional-py36 and -py37
tox venvs and configures them to both be run in check and gate.

Change-Id: Idd9c7ad2c7875c10bc20322bd814ff70e832b920
2019-12-04 18:01:42 -05:00

75 lines
2.1 KiB
YAML

- job:
name: brick-cinderclient-dsvm-functional-base
abstract: true
parent: devstack-tox-functional
description: |
devstack-based functional tests for python-brick-cinderclient-ext
required-projects:
- openstack/python-cinderclient
timeout: 4200
vars:
devstack_localrc:
LIBS_FROM_GIT: python-cinderclient
devstack_services:
# turn off ceilometer
ceilometer-acentral: false
ceilometer-acompute: false
ceilometer-alarm-evaluator: false
ceilometer-alarm-notifier: false
ceilometer-anotification: false
ceilometer-api: false
ceilometer-collector: false
# turn off swift
s-account: false
s-container: false
s-object: false
s-proxy: false
# turn off glance
g-api: false
g-reg: false
# turn off nova
n-api: false
n-api-meta: false
n-cauth: false
n-cond: false
n-cpu: false
n-novnc: false
n-obj: false
n-sch: false
placement-api: false
# turn off misc
horizon: false
tempest: false
tls-proxy: false
c-bak: false
# Hardcode brick-cinderclient path so the job can be run on other repo patches
zuul_work_dir: src/opendev.org/openstack/python-brick-cinderclient-ext
- job:
name: brick-cinderclient-dsvm-functional-py36
parent: brick-cinderclient-dsvm-functional-base
vars:
tox_envlist: functional-py36
- job:
name: brick-cinderclient-dsvm-functional-py37
parent: brick-cinderclient-dsvm-functional-base
vars:
tox_envlist: functional-py37
- project:
templates:
- check-requirements
- openstack-lower-constraints-jobs
- openstack-python3-ussuri-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- brick-cinderclient-dsvm-functional-py36
- brick-cinderclient-dsvm-functional-py37
gate:
jobs:
- brick-cinderclient-dsvm-functional-py36
- brick-cinderclient-dsvm-functional-py37