blob: 9f734aeaa098aa8cb6033f4c459866c7a6e9c3ef [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
Ghanshyam Mann93621532020-05-05 18:47:12 -050010 - cinder-tempest-plugin-basic-ussuri
11 - cinder-tempest-plugin-basic-train
12 - cinder-tempest-plugin-basic-stein
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010013 gate:
14 jobs:
15 - cinder-tempest-plugin-lvm-lio-barbican
Eric Harneyfb18e1a2018-01-24 16:14:13 -050016 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000017 - cinder-tempest-plugin-cbak-ceph
Chandan Kumar23e5b632018-01-04 23:36:43 +053018
19- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -050020 name: cinder-tempest-plugin-lvm-barbican-base
Chandan Kumar23e5b632018-01-04 23:36:43 +053021 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050022 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053023 parent: devstack-tempest
Luigi Toscanoa571b392020-04-17 19:30:23 +020024 timeout: 10800
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010025 roles:
26 - zuul: opendev.org/openstack/cinderlib
Chandan Kumar23e5b632018-01-04 23:36:43 +053027 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010028 - 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 Kumar23e5b632018-01-04 23:36:43 +053040 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000041 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 Hellmann4a63cd52018-09-09 05:49:23 -040043 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053044 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010045 CINDER_LVM_TYPE: thin
46 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020047 devstack_local_conf:
48 test-config:
49 $TEMPEST_CONFIG:
50 volume-feature-enabled:
51 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053052 devstack_services:
53 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010054 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 Kumar23e5b632018-01-04 23:36:43 +053058 irrelevant-files:
59 - ^.*\.rst$
60 - ^doc/.*$
61 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000062
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 Toscanoa571b392020-04-17 19:30:23 +020070 devstack_local_conf:
71 test-config:
72 $TEMPEST_CONFIG:
73 volume-feature-enabled:
74 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +000075 devstack_services:
76 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -050077
Luigi Toscanoa571b392020-04-17 19:30:23 +020078# 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 Harneyfb18e1a2018-01-24 16:14:13 -050090- 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 Mann93621532020-05-05 18:47:12 -0500106
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