Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 1 | - project: |
Doug Hellmann | 4a63cd5 | 2018-09-09 05:49:23 -0400 | [diff] [blame] | 2 | templates: |
| 3 | - check-requirements |
| 4 | - tempest-plugin-jobs |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 5 | check: |
| 6 | jobs: |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 7 | - cinder-tempest-plugin-lvm-lio-barbican |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 8 | - cinder-tempest-plugin-lvm-tgt-barbican |
Sofia Enriquez | f44ff14 | 2020-04-03 20:04:22 +0000 | [diff] [blame] | 9 | - cinder-tempest-plugin-cbak-ceph |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 10 | gate: |
| 11 | jobs: |
| 12 | - cinder-tempest-plugin-lvm-lio-barbican |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 13 | - cinder-tempest-plugin-lvm-tgt-barbican |
Sofia Enriquez | f44ff14 | 2020-04-03 20:04:22 +0000 | [diff] [blame] | 14 | - cinder-tempest-plugin-cbak-ceph |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 15 | |
| 16 | - job: |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 17 | name: cinder-tempest-plugin-lvm-barbican-base |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 18 | description: | |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 19 | This is a base job for lvm with lio & tgt targets |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 20 | parent: devstack-tempest |
Luigi Toscano | a571b39 | 2020-04-17 19:30:23 +0200 | [diff] [blame^] | 21 | timeout: 10800 |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 22 | roles: |
| 23 | - zuul: opendev.org/openstack/cinderlib |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 24 | required-projects: |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 25 | - 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 Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 37 | vars: |
Sofia Enriquez | f44ff14 | 2020-04-03 20:04:22 +0000 | [diff] [blame] | 38 | 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 Hellmann | 4a63cd5 | 2018-09-09 05:49:23 -0400 | [diff] [blame] | 40 | tox_envlist: all |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 41 | devstack_localrc: |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 42 | CINDER_LVM_TYPE: thin |
| 43 | CINDER_COORDINATION_URL: 'file://\$state_path' |
Luigi Toscano | a571b39 | 2020-04-17 19:30:23 +0200 | [diff] [blame^] | 44 | devstack_local_conf: |
| 45 | test-config: |
| 46 | $TEMPEST_CONFIG: |
| 47 | volume-feature-enabled: |
| 48 | volume_revert: True |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 49 | devstack_services: |
| 50 | barbican: true |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 51 | 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 Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 55 | irrelevant-files: |
| 56 | - ^.*\.rst$ |
| 57 | - ^doc/.*$ |
| 58 | - ^releasenotes/.*$ |
Sofia Enriquez | f44ff14 | 2020-04-03 20:04:22 +0000 | [diff] [blame] | 59 | |
| 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 Toscano | a571b39 | 2020-04-17 19:30:23 +0200 | [diff] [blame^] | 67 | devstack_local_conf: |
| 68 | test-config: |
| 69 | $TEMPEST_CONFIG: |
| 70 | volume-feature-enabled: |
| 71 | volume_revert: True |
Sofia Enriquez | f44ff14 | 2020-04-03 20:04:22 +0000 | [diff] [blame] | 72 | devstack_services: |
| 73 | c-bak: true |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 74 | |
Luigi Toscano | a571b39 | 2020-04-17 19:30:23 +0200 | [diff] [blame^] | 75 | # 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 Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 87 | - 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 |