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 |
Ghanshyam Mann | 9362153 | 2020-05-05 18:47:12 -0500 | [diff] [blame^] | 10 | - cinder-tempest-plugin-basic-ussuri |
| 11 | - cinder-tempest-plugin-basic-train |
| 12 | - cinder-tempest-plugin-basic-stein |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 13 | gate: |
| 14 | jobs: |
| 15 | - cinder-tempest-plugin-lvm-lio-barbican |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 16 | - cinder-tempest-plugin-lvm-tgt-barbican |
Sofia Enriquez | f44ff14 | 2020-04-03 20:04:22 +0000 | [diff] [blame] | 17 | - cinder-tempest-plugin-cbak-ceph |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 18 | |
| 19 | - job: |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 20 | name: cinder-tempest-plugin-lvm-barbican-base |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 21 | description: | |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 22 | This is a base job for lvm with lio & tgt targets |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 23 | parent: devstack-tempest |
Luigi Toscano | a571b39 | 2020-04-17 19:30:23 +0200 | [diff] [blame] | 24 | timeout: 10800 |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 25 | roles: |
| 26 | - zuul: opendev.org/openstack/cinderlib |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 27 | required-projects: |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 28 | - opendev.org/openstack/barbican |
| 29 | - opendev.org/openstack/tempest |
| 30 | - opendev.org/openstack/cinder-tempest-plugin |
| 31 | - opendev.org/openstack/cinder |
| 32 | - opendev.org/openstack/cinderlib |
| 33 | run: playbooks/tempest-and-cinderlib-run.yaml |
| 34 | # Required to collect the tox-based logs of the cinderlib functional tests |
| 35 | post-run: playbooks/post-cinderlib.yaml |
| 36 | host-vars: |
| 37 | controller: |
| 38 | devstack_plugins: |
| 39 | barbican: https://opendev.org/openstack/barbican |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 40 | vars: |
Sofia Enriquez | f44ff14 | 2020-04-03 20:04:22 +0000 | [diff] [blame] | 41 | tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))' |
| 42 | 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] | 43 | tox_envlist: all |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 44 | devstack_localrc: |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 45 | CINDER_LVM_TYPE: thin |
| 46 | CINDER_COORDINATION_URL: 'file://\$state_path' |
Luigi Toscano | a571b39 | 2020-04-17 19:30:23 +0200 | [diff] [blame] | 47 | devstack_local_conf: |
| 48 | test-config: |
| 49 | $TEMPEST_CONFIG: |
| 50 | volume-feature-enabled: |
| 51 | volume_revert: True |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 52 | devstack_services: |
| 53 | barbican: true |
Luigi Toscano | c6215bd | 2020-02-21 12:42:58 +0100 | [diff] [blame] | 54 | tempest_plugins: |
| 55 | - cinder-tempest-plugin |
| 56 | fetch_subunit_output_additional_dirs: |
| 57 | - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}" |
Chandan Kumar | 23e5b63 | 2018-01-04 23:36:43 +0530 | [diff] [blame] | 58 | irrelevant-files: |
| 59 | - ^.*\.rst$ |
| 60 | - ^doc/.*$ |
| 61 | - ^releasenotes/.*$ |
Sofia Enriquez | f44ff14 | 2020-04-03 20:04:22 +0000 | [diff] [blame] | 62 | |
| 63 | - job: |
| 64 | name: cinder-tempest-plugin-cbak-ceph |
| 65 | parent: devstack-plugin-ceph-tempest-py3 |
| 66 | description: | |
| 67 | Integration tests that runs with the ceph devstack plugin, py3 |
| 68 | and enable the backup service. |
| 69 | vars: |
Luigi Toscano | a571b39 | 2020-04-17 19:30:23 +0200 | [diff] [blame] | 70 | devstack_local_conf: |
| 71 | test-config: |
| 72 | $TEMPEST_CONFIG: |
| 73 | volume-feature-enabled: |
| 74 | volume_revert: True |
Sofia Enriquez | f44ff14 | 2020-04-03 20:04:22 +0000 | [diff] [blame] | 75 | devstack_services: |
| 76 | c-bak: true |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 77 | |
Luigi Toscano | a571b39 | 2020-04-17 19:30:23 +0200 | [diff] [blame] | 78 | # variant for pre-Ussuri branches (no volume revert for Ceph), |
| 79 | # should this job be used on those branches |
| 80 | - job: |
| 81 | name: cinder-tempest-plugin-cbak-ceph |
| 82 | branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$ |
| 83 | vars: |
| 84 | devstack_local_conf: |
| 85 | test-config: |
| 86 | $TEMPEST_CONFIG: |
| 87 | volume-feature-enabled: |
| 88 | volume_revert: False |
| 89 | |
Eric Harney | fb18e1a | 2018-01-24 16:14:13 -0500 | [diff] [blame] | 90 | - job: |
| 91 | name: cinder-tempest-plugin-lvm-lio-barbican |
| 92 | description: | |
| 93 | This jobs configures Cinder with LVM, LIO, barbican and |
| 94 | runs tempest tests and cinderlib tests. |
| 95 | parent: cinder-tempest-plugin-lvm-barbican-base |
| 96 | vars: |
| 97 | devstack_localrc: |
| 98 | CINDER_ISCSI_HELPER: lioadm |
| 99 | |
| 100 | - job: |
| 101 | name: cinder-tempest-plugin-lvm-tgt-barbican |
| 102 | description: | |
| 103 | This jobs configures Cinder with LVM, tgt, barbican and |
| 104 | runs tempest tests and cinderlib tests. |
| 105 | parent: cinder-tempest-plugin-lvm-barbican-base |
Ghanshyam Mann | 9362153 | 2020-05-05 18:47:12 -0500 | [diff] [blame^] | 106 | |
| 107 | - job: |
| 108 | name: cinder-tempest-plugin-basic |
| 109 | parent: devstack-tempest |
| 110 | description: | |
| 111 | Cinder tempest plugin tests job which run only cinder-tempest-plugin |
| 112 | tests. |
| 113 | required-projects: |
| 114 | - opendev.org/openstack/cinder-tempest-plugin |
| 115 | vars: |
| 116 | devstack_localrc: |
| 117 | TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True |
| 118 | tox_envlist: all |
| 119 | tempest_test_regex: cinder_tempest_plugin |
| 120 | tempest_plugins: |
| 121 | - cinder-tempest-plugin |
| 122 | irrelevant-files: |
| 123 | - ^.*\.rst$ |
| 124 | - ^doc/.*$ |
| 125 | - ^releasenotes/.*$ |
| 126 | |
| 127 | - job: |
| 128 | name: cinder-tempest-plugin-basic-ussuri |
| 129 | parent: cinder-tempest-plugin-basic |
| 130 | override-checkout: stable/ussuri |
| 131 | |
| 132 | - job: |
| 133 | name: cinder-tempest-plugin-basic-train |
| 134 | parent: cinder-tempest-plugin-basic |
| 135 | override-checkout: stable/train |
| 136 | vars: |
| 137 | devstack_localrc: |
| 138 | USE_PYTHON3: True |
| 139 | |
| 140 | - job: |
| 141 | name: cinder-tempest-plugin-basic-stein |
| 142 | parent: cinder-tempest-plugin-basic |
| 143 | override-checkout: stable/stein |
| 144 | vars: |
| 145 | devstack_localrc: |
| 146 | USE_PYTHON3: True |