vitrage-tempest-plugin/.zuul.yaml
Eyal 4abe14c3e9 Run the tests on stable/victoria as well, remove stein
So that changes to this plugin (at least, most of them) don't break
victoria.

As stein moved to EM, remove its job according the common guidelines.

Change-Id: Ic9c4bd70a1071fccb8b71f0c9a97e0d2bfbc12a2
2021-03-16 10:18:23 +02:00

272 lines
9.0 KiB
YAML

- project:
templates:
- check-requirements
- tempest-plugin-jobs
- publish-openstack-docs-pti
check:
jobs:
- vitrage-tempest-plugin-api
- vitrage-tempest-plugin-datasources
- vitrage-tempest-plugin-datasources-victoria
- vitrage-tempest-plugin-api-victoria
- vitrage-tempest-plugin-datasources-ussuri
- vitrage-tempest-plugin-api-ussuri
- vitrage-tempest-plugin-datasources-train
- vitrage-tempest-plugin-api-train
gate:
queue: vitrage
jobs:
- vitrage-tempest-plugin-api
- vitrage-tempest-plugin-datasources
- job:
name: vitrage-tempest-plugin-base
parent: devstack-tempest
pre-run: playbooks/pre.yaml
timeout: 7800
required-projects: &base_required_projects
- opendev.org/openstack/aodh
- opendev.org/openstack/mistral
- opendev.org/openstack/python-vitrageclient
- opendev.org/openstack/vitrage
- opendev.org/openstack/vitrage-tempest-plugin
- opendev.org/openstack/ceilometer
- opendev.org/openstack/heat
irrelevant-files: &base_irrelevant_files
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
vars: &base_vars
# Default swap size got shrinked to 1 GB, it's way too small for us.
configure_swap_size: 8192
devstack_local_conf:
post-config:
$NOVA_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
notifications:
versioned_notifications_topics: 'versioned_notifications,vitrage_notifications'
notification_driver: messagingv2
$NEUTRON_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
$CINDER_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
$AODH_CONF:
oslo_messaging_notifications:
topics: 'notifications,vitrage_notifications'
driver: messagingv2
$VITRAGE_CONF:
DEFAULT:
notifiers: 'mistral,nova,webhook'
datasources:
snapshots_interval: 120
test-config:
$TEMPEST_CONFIG:
service_available:
vitrage: True
root_cause_analysis_service:
zabbix_alarms_per_host: 2
instances_per_host: 2
snapshots_interval: 120
tox_envlist: all
tempest_concurrency: 1
tempest_test_regex: topology|test_rca|test_alarms|test_resources|test_template|test_webhook|test_service
tempest_black_regex: tempest\.api
tempest_plugins:
- vitrage-tempest-plugin
devstack_localrc:
VITRAGE_USE_STATIC: 1
VITRAGE_USE_DOCTOR: 1
VITRAGE_USE_PROMETHEUS: 1
devstack_services:
s-account: false
s-container: false
s-object: false
s-proxy: false
tls-proxy: false
devstack_plugins:
aodh: https://opendev.org/openstack/aodh
vitrage: https://opendev.org/openstack/vitrage
- job:
name: vitrage-tempest-plugin-api
parent: vitrage-tempest-plugin-base
- job:
name: vitrage-tempest-plugin-api-ipv6-only
parent: devstack-tempest-ipv6
pre-run: playbooks/pre.yaml
timeout: 7800
required-projects: *base_required_projects
irrelevant-files: *base_irrelevant_files
vars: *base_vars
- job:
name: vitrage-tempest-plugin-datasources
parent: vitrage-tempest-plugin-base
vars:
devstack_local_conf:
post-config:
$NOVA_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
notifications:
versioned_notifications_topics: 'versioned_notifications,vitrage_notifications'
notification_driver: messagingv2
$NEUTRON_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
$CINDER_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
$HEAT_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
policy_file: /etc/heat/policy.yaml
$AODH_CONF:
oslo_messaging_notifications:
topics: 'notifications,vitrage_notifications'
driver: messagingv2
$VITRAGE_CONF:
DEFAULT:
notifiers: 'mistral,nova,webhook'
datasources:
snapshots_interval: 120
test-config:
$TEMPEST_CONFIG:
service_available:
vitrage: True
root_cause_analysis_service:
zabbix_alarms_per_host: 2
instances_per_host: 2
snapshots_interval: 120
tempest_test_regex: datasources|test_events|notifiers|e2e|database
devstack_plugins:
heat: https://opendev.org/openstack/heat
aodh: https://opendev.org/openstack/aodh
mistral: https://opendev.org/openstack/mistral
vitrage: https://opendev.org/openstack/vitrage
ceilometer: https://opendev.org/openstack/ceilometer
- job:
name: vitrage-tempest-plugin-mock
parent: devstack-tempest
timeout: 7800
required-projects:
- opendev.org/openstack/python-vitrageclient
- opendev.org/openstack/vitrage
- opendev.org/openstack/vitrage-tempest-plugin
irrelevant-files: *base_irrelevant_files
vars:
# Default swap size got shrinked to 1 GB, it's way too small for us.
configure_swap_size: 8192
devstack_local_conf:
post-config:
$NOVA_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
notifications:
versioned_notifications_topics: 'versioned_notifications,vitrage_notifications'
notification_driver: messagingv2
notification_format: both
$CINDER_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
$VITRAGE_CONF:
DEFAULT:
verbose: true
debug: false
notifiers: 'nova,webhook'
rpc_response_timeout: 300
datasources:
types: 'doctor,mock_graph_datasource'
path: 'vitrage.datasources,vitrage.tests.mocks'
snapshots_interval: 60
mock_graph_datasource:
networks: 100
zones_per_cluster: 4
hosts_per_zone: 16
zabbix_alarms_per_host: 8
instances_per_host: 50
ports_per_instance: 3
volumes_per_instance: 2
vitrage_alarms_per_instance: 0
tripleo_controllers: 3
zabbix_alarms_per_controller: 1
test-config:
$TEMPEST_CONFIG:
service_available:
vitrage: True
root_cause_analysis_service:
zabbix_alarms_per_host: 8
instances_per_host: 50
snapshots_interval: 60
tox_envlist: all
tempest_concurrency: 1
tempest_test_regex: mock_datasource
tempest_plugins:
- vitrage-tempest-plugin
devstack_services:
s-account: false
s-container: false
s-object: false
s-proxy: false
tls-proxy: false
devstack_plugins:
vitrage: https://opendev.org/openstack/vitrage
- job:
name: vitrage-tempest-plugin-api-victoria
parent: vitrage-tempest-plugin-api
nodeset: openstack-single-node-bionic
override-checkout: stable/victoria
- job:
name: vitrage-tempest-plugin-datasources-victoria
parent: vitrage-tempest-plugin-datasources
nodeset: openstack-single-node-bionic
override-checkout: stable/victoria
- job:
name: vitrage-tempest-plugin-api-ussuri
parent: vitrage-tempest-plugin-api
nodeset: openstack-single-node-bionic
override-checkout: stable/ussuri
- job:
name: vitrage-tempest-plugin-datasources-ussuri
parent: vitrage-tempest-plugin-datasources
nodeset: openstack-single-node-bionic
override-checkout: stable/ussuri
- job:
name: vitrage-tempest-plugin-api-train
parent: vitrage-tempest-plugin-api
nodeset: openstack-single-node-bionic
override-checkout: stable/train
vars:
devstack_localrc:
USE_PYTHON3: True
- job:
name: vitrage-tempest-plugin-datasources-train
parent: vitrage-tempest-plugin-datasources
nodeset: openstack-single-node-bionic
override-checkout: stable/train
vars:
devstack_localrc:
USE_PYTHON3: True