cloudkitty/.zuul.yaml
Luka Peschke d252f59b6e Add support for Elasticsearch to devstack plugin
This adds support for the elasticsearch v2 storage driver to the devstack
plugin. Two non-voting check jobs running a the tempest test suite
against a devstack deployment using the elasticsearch driver have also been
added.

Story: 2006332
Task: 36078
Task: 36080
Change-Id: Ib531f83e2c8e5c2494b36af250d7630e32f49f40
2019-09-18 09:19:52 +02:00

154 lines
4.9 KiB
YAML

- job:
name: cloudkitty-tempest-full-v2-storage-influxdb
parent: devstack-tempest
description: |
Job testing cloudkitty installation on devstack with the InfluxDB v2
storage driver and running tempest tests
required-projects: &base_required_projects
- name: openstack/cloudkitty
- name: openstack/cloudkitty-tempest-plugin
- name: openstack/python-cloudkittyclient
roles: &base_roles
- zuul: openstack-infra/devstack
timeout: 5400
irrelevant-files: &base_irrelevant_files
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
vars: &base_vars
devstack_plugins:
cloudkitty: https://opendev.org/openstack/cloudkitty
cloudkitty-tempest-plugin: https://opendev.org/openstack/cloudkitty-tempest-plugin
devstack_services:
ck-api: true
ck-proc: true
horizon: false
tempest: true
tempest_concurrency: 1
tempest_test_regex: cloudkitty_tempest_plugin.*
tox_envlist: all
devstack_localrc:
CLOUDKITTY_FETCHER: keystone
TEMPEST_PLUGINS: /opt/stack/cloudkitty-tempest-plugin
- job:
name: cloudkitty-tempest-full-ipv6-only
parent: devstack-tempest-ipv6
description: |
Job testing cloudkitty installation on devstack on IPv6
and running tempest tests
required-projects: *base_required_projects
roles: *base_roles
timeout: 5400
irrelevant-files: *base_irrelevant_files
vars: *base_vars
- job:
name: cloudkitty-tempest-full-v2-storage-influxdb-py3
parent: cloudkitty-tempest-full-v2-storage-influxdb
description: |
Job testing cloudkitty installation on devstack with python 3 and the
InfluxDB v2 storage driver and running tempest tests
vars:
devstack_localrc:
DEVSTACK_GATE_USE_PYTHON3: "True"
USE_PYTHON3: "True"
- job:
name: cloudkitty-tempest-full-v1-storage-sqlalchemy
parent: cloudkitty-tempest-full-v2-storage-influxdb
description: |
Job testing cloudkitty installation on devstack with python 2 and the
SQLAlchemy v1 storage driver and running tempest tests
vars:
devstack_localrc:
CLOUDKITTY_STORAGE_BACKEND: sqlalchemy
CLOUDKITTY_STORAGE_VERSION: 1
- job:
name: cloudkitty-tempest-full-v1-storage-sqlalchemy-py3
parent: cloudkitty-tempest-full-v1-storage-sqlalchemy
description: |
Job testing cloudkitty installation on devstack with python 3 and the
SQLAlchemy v1 storage driver and running tempest tests
vars:
devstack_localrc:
DEVSTACK_GATE_USE_PYTHON3: "True"
USE_PYTHON3: "True"
- job:
name: cloudkitty-tempest-full-v2-storage-elasticsearch
parent: cloudkitty-tempest-full-v2-storage-influxdb
description: |
Job testing cloudkitty installation on devstack with python 2 and the
elasticsearch v2 storage driver and running tempest tests
vars:
devstack_localrc:
CLOUDKITTY_STORAGE_BACKEND: elasticsearch
CLOUDKITTY_STORAGE_VERSION: 2
- job:
name: cloudkitty-tempest-full-v2-storage-elasticsearch-py3
parent: cloudkitty-tempest-full-v2-storage-elasticsearch
description: |
Job testing cloudkitty installation on devstack with python 3 and the
elasticsearch v2 storage driver and running tempest tests
vars:
devstack_localrc:
DEVSTACK_GATE_USE_PYTHON3: "True"
USE_PYTHON3: "True"
- job:
name: cloudkitty-tox-bandit
parent: openstack-tox
timeout: 2400
vars:
tox_envlist: bandit
required-projects:
- openstack/requirements
irrelevant-files:
- ^.*\.rst$
- ^.*\.txt$
- ^api-ref/.*$
- ^apidocs/.*$
- ^contrib/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tools/.*$
- ^cloudkitty/hacking/.*$
- ^cloudkitty/tests/scenario/.*$
- ^cloudkitty/tests/unittests/.*$
- project:
templates:
- openstack-lower-constraints-jobs
- check-requirements
- openstack-cover-jobs
- openstack-python-jobs
- openstack-python3-train-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- cloudkitty-tempest-full-v2-storage-influxdb
- cloudkitty-tempest-full-v2-storage-influxdb-py3
- cloudkitty-tempest-full-v2-storage-elasticsearch:
voting: false
- cloudkitty-tempest-full-v2-storage-elasticsearch-py3:
voting: false
- cloudkitty-tempest-full-v1-storage-sqlalchemy
- cloudkitty-tempest-full-v1-storage-sqlalchemy-py3
- cloudkitty-tempest-full-ipv6-only
- cloudkitty-tox-bandit:
voting: false
gate:
queue: cloudkitty
jobs:
- cloudkitty-tempest-full-v2-storage-influxdb
- cloudkitty-tempest-full-v2-storage-influxdb-py3
- cloudkitty-tempest-full-v1-storage-sqlalchemy
- cloudkitty-tempest-full-v1-storage-sqlalchemy-py3
- cloudkitty-tempest-full-ipv6-only