blob: 106817508f6c71e28915e634a190b4652ffce94d [file] [log] [blame]
- project:
templates:
- check-requirements
- tempest-plugin-jobs
check:
jobs:
- cinder-tempest-plugin-lvm-lio-barbican
- cinder-tempest-plugin-lvm-tgt-barbican
- cinder-tempest-plugin-cbak-ceph
gate:
jobs:
- cinder-tempest-plugin-lvm-lio-barbican
- cinder-tempest-plugin-lvm-tgt-barbican
- cinder-tempest-plugin-cbak-ceph
- job:
name: cinder-tempest-plugin-lvm-barbican-base
description: |
This is a base job for lvm with lio & tgt targets
parent: devstack-tempest
timeout: 10800
roles:
- zuul: opendev.org/openstack/cinderlib
required-projects:
- opendev.org/openstack/barbican
- opendev.org/openstack/tempest
- opendev.org/openstack/cinder-tempest-plugin
- opendev.org/openstack/cinder
- opendev.org/openstack/cinderlib
run: playbooks/tempest-and-cinderlib-run.yaml
# Required to collect the tox-based logs of the cinderlib functional tests
post-run: playbooks/post-cinderlib.yaml
host-vars:
controller:
devstack_plugins:
barbican: https://opendev.org/openstack/barbican
vars:
tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-blacklist.txt'
tox_envlist: all
devstack_localrc:
CINDER_LVM_TYPE: thin
CINDER_COORDINATION_URL: 'file://\$state_path'
devstack_local_conf:
test-config:
$TEMPEST_CONFIG:
volume-feature-enabled:
volume_revert: True
devstack_services:
barbican: true
tempest_plugins:
- cinder-tempest-plugin
fetch_subunit_output_additional_dirs:
- "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- job:
name: cinder-tempest-plugin-cbak-ceph
parent: devstack-plugin-ceph-tempest-py3
description: |
Integration tests that runs with the ceph devstack plugin, py3
and enable the backup service.
vars:
devstack_local_conf:
test-config:
$TEMPEST_CONFIG:
volume-feature-enabled:
volume_revert: True
devstack_services:
c-bak: true
# variant for pre-Ussuri branches (no volume revert for Ceph),
# should this job be used on those branches
- job:
name: cinder-tempest-plugin-cbak-ceph
branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
vars:
devstack_local_conf:
test-config:
$TEMPEST_CONFIG:
volume-feature-enabled:
volume_revert: False
- job:
name: cinder-tempest-plugin-lvm-lio-barbican
description: |
This jobs configures Cinder with LVM, LIO, barbican and
runs tempest tests and cinderlib tests.
parent: cinder-tempest-plugin-lvm-barbican-base
vars:
devstack_localrc:
CINDER_ISCSI_HELPER: lioadm
- job:
name: cinder-tempest-plugin-lvm-tgt-barbican
description: |
This jobs configures Cinder with LVM, tgt, barbican and
runs tempest tests and cinderlib tests.
parent: cinder-tempest-plugin-lvm-barbican-base