blob: 106817508f6c71e28915e634a190b4652ffce94d [file] [log] [blame]
Chandan Kumar23e5b632018-01-04 23:36:43 +05301- project:
Doug Hellmann4a63cd52018-09-09 05:49:23 -04002 templates:
3 - check-requirements
4 - tempest-plugin-jobs
Chandan Kumar23e5b632018-01-04 23:36:43 +05305 check:
6 jobs:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +01007 - cinder-tempest-plugin-lvm-lio-barbican
Eric Harneyfb18e1a2018-01-24 16:14:13 -05008 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +00009 - cinder-tempest-plugin-cbak-ceph
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010010 gate:
11 jobs:
12 - cinder-tempest-plugin-lvm-lio-barbican
Eric Harneyfb18e1a2018-01-24 16:14:13 -050013 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000014 - cinder-tempest-plugin-cbak-ceph
Chandan Kumar23e5b632018-01-04 23:36:43 +053015
16- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -050017 name: cinder-tempest-plugin-lvm-barbican-base
Chandan Kumar23e5b632018-01-04 23:36:43 +053018 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050019 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053020 parent: devstack-tempest
Luigi Toscanoa571b392020-04-17 19:30:23 +020021 timeout: 10800
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010022 roles:
23 - zuul: opendev.org/openstack/cinderlib
Chandan Kumar23e5b632018-01-04 23:36:43 +053024 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010025 - opendev.org/openstack/barbican
26 - opendev.org/openstack/tempest
27 - opendev.org/openstack/cinder-tempest-plugin
28 - opendev.org/openstack/cinder
29 - opendev.org/openstack/cinderlib
30 run: playbooks/tempest-and-cinderlib-run.yaml
31 # Required to collect the tox-based logs of the cinderlib functional tests
32 post-run: playbooks/post-cinderlib.yaml
33 host-vars:
34 controller:
35 devstack_plugins:
36 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053037 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000038 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
39 tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-blacklist.txt'
Doug Hellmann4a63cd52018-09-09 05:49:23 -040040 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053041 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010042 CINDER_LVM_TYPE: thin
43 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020044 devstack_local_conf:
45 test-config:
46 $TEMPEST_CONFIG:
47 volume-feature-enabled:
48 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053049 devstack_services:
50 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010051 tempest_plugins:
52 - cinder-tempest-plugin
53 fetch_subunit_output_additional_dirs:
54 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Chandan Kumar23e5b632018-01-04 23:36:43 +053055 irrelevant-files:
56 - ^.*\.rst$
57 - ^doc/.*$
58 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000059
60- job:
61 name: cinder-tempest-plugin-cbak-ceph
62 parent: devstack-plugin-ceph-tempest-py3
63 description: |
64 Integration tests that runs with the ceph devstack plugin, py3
65 and enable the backup service.
66 vars:
Luigi Toscanoa571b392020-04-17 19:30:23 +020067 devstack_local_conf:
68 test-config:
69 $TEMPEST_CONFIG:
70 volume-feature-enabled:
71 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +000072 devstack_services:
73 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -050074
Luigi Toscanoa571b392020-04-17 19:30:23 +020075# variant for pre-Ussuri branches (no volume revert for Ceph),
76# should this job be used on those branches
77- job:
78 name: cinder-tempest-plugin-cbak-ceph
79 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
80 vars:
81 devstack_local_conf:
82 test-config:
83 $TEMPEST_CONFIG:
84 volume-feature-enabled:
85 volume_revert: False
86
Eric Harneyfb18e1a2018-01-24 16:14:13 -050087- job:
88 name: cinder-tempest-plugin-lvm-lio-barbican
89 description: |
90 This jobs configures Cinder with LVM, LIO, barbican and
91 runs tempest tests and cinderlib tests.
92 parent: cinder-tempest-plugin-lvm-barbican-base
93 vars:
94 devstack_localrc:
95 CINDER_ISCSI_HELPER: lioadm
96
97- job:
98 name: cinder-tempest-plugin-lvm-tgt-barbican
99 description: |
100 This jobs configures Cinder with LVM, tgt, barbican and
101 runs tempest tests and cinderlib tests.
102 parent: cinder-tempest-plugin-lvm-barbican-base