monasca-api/.zuul.yaml
arseni.lipinski@ts.fujitsu.com aeed1c63dc Add build and installation for monasca-kibana-plugin in new API
Story: 2006376
Task: 38335

Depends-On: https://review.opendev.org/#/c/680075/

Change-Id: I5887c75dbf499027b21b86c2850370f6729fb451
2020-04-27 10:43:39 +02:00

263 lines
8.4 KiB
YAML

- job:
name: monasca-tempest-base
parent: devstack-tempest
description: |
Base job for running tempest tests with monasca-api devstack plugin.
timeout: 7800
required-projects:
- openstack/devstack-gate
- openstack/monasca-agent
- openstack/monasca-api
- openstack/monasca-common
- openstack/monasca-grafana-datasource
- openstack/monasca-notification
- openstack/monasca-persister
- openstack/monasca-statsd
- openstack/monasca-thresh
- openstack/monasca-ui
- openstack/python-monascaclient
- openstack/tempest
- openstack/monasca-tempest-plugin
vars:
devstack_services:
# Disable unneeded services.
etcd3: false
g-api: false
g-reg: false
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
s-account: false
s-container: false
s-object: false
s-proxy: false
c-api: false
c-bak: false
c-sch: false
c-vol: false
cinder: false
horizon: false
monasca-log: false
tox_envlist: all
devstack_localrc:
USE_PYTHON3: true
tempest_test_regex: monasca_tempest_tests.tests.api
devstack_plugins:
monasca-api: https://opendev.org/openstack/monasca-api
zuul_copy_output:
/var/log/kafka: logs
/var/log/monasca/notification: logs
/etc/kafka/server.properties: logs
/etc/kafka/producer.properties: logs
/etc/kafka/consumer.properties: logs
/etc/monasca/monasca-notification.conf: logs
irrelevant-files:
- ^.*\.rst$
- ^.*\.md$
- ^doc/.*$
- ^releasenotes/.*$
- job:
name: monasca-tempest-log-base
parent: devstack-tempest
description: |
Base job for running tempest tests with monasca-log-api devstack plugin.
timeout: 7800
required-projects:
- openstack/devstack-gate
- openstack/monasca-api
- openstack/monasca-common
- openstack/python-monascaclient
- openstack/tempest
- openstack/monasca-tempest-plugin
- openstack/monasca-kibana-plugin
vars:
devstack_services:
monasca-log: true
# Disable unneeded services.
monasca-agent: false
monasca-notification: false
monasca-persister: false
monasca-thresh: false
monasca-storm: false
etcd3: false
g-api: false
g-reg: false
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
s-account: false
s-container: false
s-object: false
s-proxy: false
c-api: false
c-bak: false
c-sch: false
c-vol: false
cinder: false
horizon: false
tox_envlist: all
devstack_localrc:
USE_PYTHON3: true
tempest_test_regex: monasca_tempest_tests.tests.log_api
devstack_plugins:
monasca-api: https://opendev.org/openstack/monasca-api
zuul_copy_output:
/var/log/kafka: logs
/var/log/monasca/notification: logs
/etc/kafka/server.properties: logs
/etc/kafka/producer.properties: logs
/etc/kafka/consumer.properties: logs
/etc/monasca/monasca-notification.conf: logs
irrelevant-files:
- ^.*\.rst$
- ^.*\.md$
- ^doc/.*$
- ^releasenotes/.*$
- job:
name: monasca-tempest-python3-influxdb
parent: monasca-tempest-base
vars:
devstack_localrc:
MONASCA_API_IMPLEMENTATION_LANG: python
MONASCA_PERSISTER_IMPLEMENTATION_LANG: python
MONASCA_METRICS_DB: influxdb
TEMPEST_PLUGINS: /opt/stack/monasca-tempest-plugin
- job:
name: monasca-tempest-java-influxdb
parent: monasca-tempest-base
voting: false
vars:
devstack_localrc:
MONASCA_API_IMPLEMENTATION_LANG: python
MONASCA_PERSISTER_IMPLEMENTATION_LANG: java
MONASCA_METRICS_DB: influxdb
TEMPEST_PLUGINS: /opt/stack/monasca-tempest-plugin
- job:
name: monasca-tempest-python3-cassandra
parent: monasca-tempest-base
voting: false
vars:
devstack_localrc:
MONASCA_API_IMPLEMENTATION_LANG: python
MONASCA_PERSISTER_IMPLEMENTATION_LANG: python
MONASCA_METRICS_DB: cassandra
TEMPEST_PLUGINS: /opt/stack/monasca-tempest-plugin
tempest_test_regex: (?!.*\[.*\btimerange\b.*\])(^monasca_tempest_tests.tests.api)
- job:
name: monasca-tempest-python3-java-cassandra
parent: monasca-tempest-base
voting: false
vars:
devstack_localrc:
MONASCA_API_IMPLEMENTATION_LANG: python
MONASCA_PERSISTER_IMPLEMENTATION_LANG: java
MONASCA_METRICS_DB: cassandra
TEMPEST_PLUGINS: /opt/stack/monasca-tempest-plugin
tempest_test_regex: (?!.*\[.*\btimerange\b.*\])(^monasca_tempest_tests.tests.api)
- job:
name: monasca-tempest-log-python3-influxdb
parent: monasca-tempest-log-base
vars:
devstack_localrc:
USE_OLD_LOG_API: false
MONASCA_API_IMPLEMENTATION_LANG: python
MONASCA_PERSISTER_IMPLEMENTATION_LANG: python
MONASCA_METRICS_DB: influxdb
TEMPEST_PLUGINS: /opt/stack/monasca-tempest-plugin
- job:
name: monasca-tempest-log-oldapi-python3-influxdb
parent: monasca-tempest-log-base
vars:
devstack_localrc:
USE_OLD_LOG_API: false
MONASCA_API_IMPLEMENTATION_LANG: python
MONASCA_PERSISTER_IMPLEMENTATION_LANG: python
MONASCA_METRICS_DB: influxdb
TEMPEST_PLUGINS: /opt/stack/monasca-tempest-plugin
- project:
templates:
- check-requirements
- openstack-cover-jobs
- openstack-lower-constraints-jobs
- openstack-python3-ussuri-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- monasca-tempest-log-python3-influxdb
- monasca-tempest-python3-influxdb
- monasca-tempest-python3-cassandra
- build-monasca-docker-image
gate:
queue: monasca
jobs:
- monasca-tempest-python3-influxdb
- monasca-tempest-log-python3-influxdb
post:
jobs:
- publish-monasca-api-docker-image
periodic:
jobs:
- publish-monasca-api-docker-image
release:
jobs:
- publish-monasca-api-docker-image
- job:
name: publish-monasca-api-docker-image
parent: build-monasca-docker-image
post-run: playbooks/docker-publish.yml
required-projects:
- openstack/monasca-common
vars:
publisher: true
secrets:
- doker_hub_login_api
- secret:
name: doker_hub_login_api
data:
user: !encrypted/pkcs1-oaep
- JQCFFaHjbMstCHOxW9JxepuFbsdOKhs/swCkfbzgqiNDyL91e2AF6tazGf8EtMxX6brP4
vCGWFEkMUGxBxVbpwRMUf4mSCOzs2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