blob: 141b2828e1f5f2259571f1bc3c48822dc0ac21ba [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
Luigi Toscanof1441832020-05-01 19:33:21 +02008 - cinder-tempest-plugin-lvm-lio-barbican-centos-8:
9 voting: false
Eric Harneyfb18e1a2018-01-24 16:14:13 -050010 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000011 - cinder-tempest-plugin-cbak-ceph
Ghanshyam Mann93621532020-05-05 18:47:12 -050012 - cinder-tempest-plugin-basic-ussuri
13 - cinder-tempest-plugin-basic-train
14 - cinder-tempest-plugin-basic-stein
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010015 gate:
16 jobs:
17 - cinder-tempest-plugin-lvm-lio-barbican
Eric Harneyfb18e1a2018-01-24 16:14:13 -050018 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000019 - cinder-tempest-plugin-cbak-ceph
Chandan Kumar23e5b632018-01-04 23:36:43 +053020
21- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -050022 name: cinder-tempest-plugin-lvm-barbican-base
Chandan Kumar23e5b632018-01-04 23:36:43 +053023 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050024 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053025 parent: devstack-tempest
Luigi Toscanoa571b392020-04-17 19:30:23 +020026 timeout: 10800
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010027 roles:
28 - zuul: opendev.org/openstack/cinderlib
Chandan Kumar23e5b632018-01-04 23:36:43 +053029 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010030 - opendev.org/openstack/barbican
31 - opendev.org/openstack/tempest
32 - opendev.org/openstack/cinder-tempest-plugin
33 - opendev.org/openstack/cinder
34 - opendev.org/openstack/cinderlib
35 run: playbooks/tempest-and-cinderlib-run.yaml
36 # Required to collect the tox-based logs of the cinderlib functional tests
37 post-run: playbooks/post-cinderlib.yaml
38 host-vars:
39 controller:
40 devstack_plugins:
41 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053042 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000043 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
44 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 -040045 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053046 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010047 CINDER_LVM_TYPE: thin
48 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020049 devstack_local_conf:
50 test-config:
51 $TEMPEST_CONFIG:
52 volume-feature-enabled:
53 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053054 devstack_services:
55 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010056 tempest_plugins:
57 - cinder-tempest-plugin
58 fetch_subunit_output_additional_dirs:
59 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Chandan Kumar23e5b632018-01-04 23:36:43 +053060 irrelevant-files:
61 - ^.*\.rst$
62 - ^doc/.*$
63 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000064
65- job:
66 name: cinder-tempest-plugin-cbak-ceph
67 parent: devstack-plugin-ceph-tempest-py3
68 description: |
69 Integration tests that runs with the ceph devstack plugin, py3
70 and enable the backup service.
71 vars:
Luigi Toscanoa571b392020-04-17 19:30:23 +020072 devstack_local_conf:
73 test-config:
74 $TEMPEST_CONFIG:
75 volume-feature-enabled:
76 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +000077 devstack_services:
78 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -050079
Luigi Toscanoa571b392020-04-17 19:30:23 +020080# variant for pre-Ussuri branches (no volume revert for Ceph),
81# should this job be used on those branches
82- job:
83 name: cinder-tempest-plugin-cbak-ceph
84 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
85 vars:
86 devstack_local_conf:
87 test-config:
88 $TEMPEST_CONFIG:
89 volume-feature-enabled:
90 volume_revert: False
91
Eric Harneyfb18e1a2018-01-24 16:14:13 -050092- job:
93 name: cinder-tempest-plugin-lvm-lio-barbican
94 description: |
95 This jobs configures Cinder with LVM, LIO, barbican and
96 runs tempest tests and cinderlib tests.
97 parent: cinder-tempest-plugin-lvm-barbican-base
98 vars:
99 devstack_localrc:
100 CINDER_ISCSI_HELPER: lioadm
101
102- job:
Luigi Toscanof1441832020-05-01 19:33:21 +0200103 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8
104 parent: cinder-tempest-plugin-lvm-lio-barbican
105 nodeset: devstack-single-node-centos-8
106 description: |
107 This jobs configures Cinder with LVM, LIO, barbican and
108 runs tempest tests and cinderlib tests on CentOS 8.
109
110- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500111 name: cinder-tempest-plugin-lvm-tgt-barbican
112 description: |
113 This jobs configures Cinder with LVM, tgt, barbican and
114 runs tempest tests and cinderlib tests.
115 parent: cinder-tempest-plugin-lvm-barbican-base
Ghanshyam Mann93621532020-05-05 18:47:12 -0500116
117- job:
118 name: cinder-tempest-plugin-basic
119 parent: devstack-tempest
120 description: |
121 Cinder tempest plugin tests job which run only cinder-tempest-plugin
122 tests.
123 required-projects:
124 - opendev.org/openstack/cinder-tempest-plugin
125 vars:
126 devstack_localrc:
127 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
128 tox_envlist: all
129 tempest_test_regex: cinder_tempest_plugin
130 tempest_plugins:
131 - cinder-tempest-plugin
132 irrelevant-files:
133 - ^.*\.rst$
134 - ^doc/.*$
135 - ^releasenotes/.*$
136
137- job:
138 name: cinder-tempest-plugin-basic-ussuri
139 parent: cinder-tempest-plugin-basic
140 override-checkout: stable/ussuri
141
142- job:
143 name: cinder-tempest-plugin-basic-train
144 parent: cinder-tempest-plugin-basic
145 override-checkout: stable/train
146 vars:
147 devstack_localrc:
148 USE_PYTHON3: True
149
150- job:
151 name: cinder-tempest-plugin-basic-stein
152 parent: cinder-tempest-plugin-basic
153 override-checkout: stable/stein
154 vars:
155 devstack_localrc:
156 USE_PYTHON3: True