Refactor the lvm barbican job(s): cinderlib-less variant
The first real cinderlib supported branch works with train,
so restructure the lvm/barbican jobs to disable cinderlib testing
with any branch older than train.
While those branches are in Extended Maintenance status,
the job may be still used there to remove their old legacy
counterpart to easy the maintenance.
Change-Id: I5fa1b2d0348e86988f616dd7404dedc4eb9c4666
Luigi Toscano
5 years ago
| 18 | 18 | - cinder-tempest-plugin-cbak-ceph |
| 19 | 19 | |
| 20 | 20 | - job: |
| 21 | name: cinder-tempest-plugin-lvm-barbican-base | |
| 21 | name: cinder-tempest-plugin-lvm-barbican-base-abstract | |
| 22 | 22 | description: | |
| 23 | 23 | This is a base job for lvm with lio & tgt targets |
| 24 | 24 | parent: devstack-tempest |
| 25 | abstract: true | |
| 25 | 26 | timeout: 10800 |
| 26 | roles: | |
| 27 | - zuul: opendev.org/openstack/cinderlib | |
| 28 | 27 | required-projects: |
| 29 | 28 | - opendev.org/openstack/barbican |
| 30 | 29 | - opendev.org/openstack/tempest |
| 31 | 30 | - opendev.org/openstack/cinder-tempest-plugin |
| 32 | 31 | - opendev.org/openstack/cinder |
| 33 | - opendev.org/openstack/cinderlib | |
| 34 | run: playbooks/tempest-and-cinderlib-run.yaml | |
| 35 | # Required to collect the tox-based logs of the cinderlib functional tests | |
| 36 | post-run: playbooks/post-cinderlib.yaml | |
| 37 | 32 | host-vars: |
| 38 | 33 | controller: |
| 39 | 34 | devstack_plugins: |
| 58 | 53 | barbican: true |
| 59 | 54 | tempest_plugins: |
| 60 | 55 | - cinder-tempest-plugin |
| 61 | fetch_subunit_output_additional_dirs: | |
| 62 | - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}" | |
| 63 | 56 | irrelevant-files: |
| 64 | 57 | - ^.*\.rst$ |
| 65 | 58 | - ^doc/.*$ |
| 66 | 59 | - ^releasenotes/.*$ |
| 60 | ||
| 61 | - job: | |
| 62 | name: cinder-tempest-plugin-lvm-barbican-base | |
| 63 | description: | | |
| 64 | This is a base job for lvm with lio & tgt targets | |
| 65 | with cinderlib tests. | |
| 66 | branches: ^(?!stable/(ocata|pike|queens|rocky|stein)).*$ | |
| 67 | parent: cinder-tempest-plugin-lvm-barbican-base-abstract | |
| 68 | roles: | |
| 69 | - zuul: opendev.org/openstack/cinderlib | |
| 70 | required-projects: | |
| 71 | - opendev.org/openstack/cinderlib | |
| 72 | run: playbooks/tempest-and-cinderlib-run.yaml | |
| 73 | # Required to collect the tox-based logs of the cinderlib functional tests | |
| 74 | post-run: playbooks/post-cinderlib.yaml | |
| 75 | vars: | |
| 76 | fetch_subunit_output_additional_dirs: | |
| 77 | - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}" | |
| 78 | ||
| 79 | - job: | |
| 80 | name: cinder-tempest-plugin-lvm-barbican-base | |
| 81 | description: | | |
| 82 | This is a base job for lvm with lio & tgt targets | |
| 83 | branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$ | |
| 84 | parent: cinder-tempest-plugin-lvm-barbican-base-abstract | |
| 67 | 85 | |
| 68 | 86 | - job: |
| 69 | 87 | name: cinder-tempest-plugin-cbak-ceph |