tooz/.zuul.yaml
Ben Nemec 8207427fff Unblock tooz gate
This is a squash of two commits needed to get gate tests passing
again on tooz. See below for details:

Move testing to py36

The base infra images no longer have python 3.5 available and are
all failing. We should be testing on py36 now anyway since that is
the minimum supported version for Train.

Stop redis-server before running tests

Just installing redis-server on Ubuntu Bionic starts the service,
which means when we try to start one via pifpaf it fails due to the
port already being in use.

This change adds a pre-run playbook that stops the redis-server
service so ours can run successfully.

Change-Id: I3f7f7ea9069d8c890a82f31ad14c9663e98c09dc
Closes-Bug: 1828610
2019-05-10 20:02:04 +00:00

225 lines
5.3 KiB
YAML

- project:
templates:
- check-requirements
- lib-forward-testing
- lib-forward-testing-python3
- openstack-cover-jobs
- openstack-python-jobs
- openstack-python36-jobs
- openstack-python37-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- tooz-tox-py27-etcd
- tooz-tox-py36-etcd
- tooz-tox-py27-etcd3
- tooz-tox-py36-etcd3
- tooz-tox-py27-etcd3gw
- tooz-tox-py36-etcd3gw
- tooz-tox-py27-zookeeper
- tooz-tox-py36-zookeeper
- tooz-tox-py27-redis
- tooz-tox-py36-redis
- tooz-tox-py27-sentinel
- tooz-tox-py36-sentinel
- tooz-tox-py27-memcached
- tooz-tox-py36-memcached
- tooz-tox-py27-postgresql
- tooz-tox-py36-postgresql
- tooz-tox-py27-mysql
- tooz-tox-py36-mysql
- tooz-tox-py27-consul
- tooz-tox-py36-consul
gate:
jobs:
- tooz-tox-py27-etcd
- tooz-tox-py36-etcd
- tooz-tox-py27-etcd3
- tooz-tox-py36-etcd3
- tooz-tox-py27-etcd3gw
- tooz-tox-py36-etcd3gw
- tooz-tox-py27-zookeeper
- tooz-tox-py36-zookeeper
- tooz-tox-py27-redis
- tooz-tox-py36-redis
- tooz-tox-py27-sentinel
- tooz-tox-py36-sentinel
- tooz-tox-py27-memcached
- tooz-tox-py36-memcached
- tooz-tox-py27-postgresql
- tooz-tox-py36-postgresql
- tooz-tox-py27-mysql
- tooz-tox-py36-mysql
- tooz-tox-py27-consul
- tooz-tox-py36-consul
- job:
name: tooz-tox-py27-consul
parent: openstack-tox
description: |
Run tests using ``py27-consul`` environment.
vars:
tox_envlist: mysql-python
- job:
name: tooz-tox-py27-etcd
parent: openstack-tox
description: |
Run tests using ``py27-etcd`` environment.
vars:
tox_envlist: py27-etcd
- job:
name: tooz-tox-py27-etcd3
parent: openstack-tox
description: |
Run tests using ``py27-etcd3`` environment.
vars:
tox_envlist: py27-etcd3
- job:
name: tooz-tox-py27-etcd3gw
parent: openstack-tox
description: |
Run tests using ``py27-etcd3gw`` environment.
vars:
tox_envlist: py27-etcd3gw
- job:
name: tooz-tox-py27-memcached
parent: openstack-tox
description: |
Run tests using ``py27-memcached`` environment.
vars:
tox_envlist: py27-memcached
- job:
name: tooz-tox-py27-mysql
parent: openstack-tox
description: |
Run tests using ``py27-mysql`` environment.
vars:
tox_envlist: py27-mysql
- job:
name: tooz-tox-py27-postgresql
parent: openstack-tox
description: |
Run tests using ``py27-postgresql`` environment.
vars:
tox_envlist: py27-postgresql
- job:
name: tooz-tox-py27-redis
parent: openstack-tox
description: |
Run tests using ``py27-redis`` environment.
vars:
tox_envlist: py27-redis
pre-run:
- playbooks/stop-redis.yaml
- job:
name: tooz-tox-py27-sentinel
parent: openstack-tox
description: |
Run tests using ``py27-sentinel`` environment.
vars:
tox_envlist: py27-sentinel
pre-run:
- playbooks/stop-redis.yaml
- job:
name: tooz-tox-py27-zookeeper
parent: openstack-tox
description: |
Run tests using ``py27-zookeeper`` environment.
vars:
tox_envlist: py27-zookeeper
- job:
name: tooz-tox-py36-consul
parent: openstack-tox
description: |
Run tests using ``py36-consul`` environment.
vars:
tox_envlist: py36-consul
- job:
name: tooz-tox-py36-etcd
parent: openstack-tox
description: |
Run tests using ``py36-etcd`` environment.
vars:
tox_envlist: py36-etcd
- job:
name: tooz-tox-py36-etcd3
parent: openstack-tox
description: |
Run tests using ``py36-etcd3`` environment.
vars:
tox_envlist: py36-etcd3
- job:
name: tooz-tox-py36-etcd3gw
parent: openstack-tox
description: |
Run tests using ``py36-etcd3gw`` environment.
vars:
tox_envlist: py36-etcd3gw
- job:
name: tooz-tox-py36-memcached
parent: openstack-tox
description: |
Run tests using ``py36-memcached`` environment.
vars:
tox_envlist: py36-memcached
- job:
name: tooz-tox-py36-mysql
parent: openstack-tox
description: |
Run tests using ``py36-mysql`` environment.
vars:
tox_envlist: py36-mysql
- job:
name: tooz-tox-py36-postgresql
parent: openstack-tox
description: |
Run tests using ``py36-postgresql`` environment.
vars:
tox_envlist: py36-postgresql
- job:
name: tooz-tox-py36-redis
parent: openstack-tox
description: |
Run tests using ``py36-redis`` environment.
vars:
tox_envlist: py36-redis
pre-run:
- playbooks/stop-redis.yaml
- job:
name: tooz-tox-py36-sentinel
parent: openstack-tox
description: |
Run tests using ``py36-sentinel`` environment.
vars:
tox_envlist: py36-sentinel
pre-run:
- playbooks/stop-redis.yaml
- job:
name: tooz-tox-py36-zookeeper
parent: openstack-tox
description: |
Run tests using ``py36-zookeeper`` environment.
vars:
tox_envlist: py36-zookeeper