blob: 4ec7de4280a8b9539ccb64bc889a98db048aa21b [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
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010012 gate:
13 jobs:
14 - cinder-tempest-plugin-lvm-lio-barbican
Eric Harneyfb18e1a2018-01-24 16:14:13 -050015 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000016 - cinder-tempest-plugin-cbak-ceph
Chandan Kumar23e5b632018-01-04 23:36:43 +053017
18- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -050019 name: cinder-tempest-plugin-lvm-barbican-base
Chandan Kumar23e5b632018-01-04 23:36:43 +053020 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050021 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053022 parent: devstack-tempest
Luigi Toscanoa571b392020-04-17 19:30:23 +020023 timeout: 10800
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010024 roles:
25 - zuul: opendev.org/openstack/cinderlib
Chandan Kumar23e5b632018-01-04 23:36:43 +053026 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010027 - opendev.org/openstack/barbican
28 - opendev.org/openstack/tempest
29 - opendev.org/openstack/cinder-tempest-plugin
30 - opendev.org/openstack/cinder
31 - opendev.org/openstack/cinderlib
32 run: playbooks/tempest-and-cinderlib-run.yaml
33 # Required to collect the tox-based logs of the cinderlib functional tests
34 post-run: playbooks/post-cinderlib.yaml
35 host-vars:
36 controller:
37 devstack_plugins:
38 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053039 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000040 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
41 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 -040042 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053043 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010044 CINDER_LVM_TYPE: thin
45 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020046 devstack_local_conf:
47 test-config:
48 $TEMPEST_CONFIG:
49 volume-feature-enabled:
50 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053051 devstack_services:
52 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010053 tempest_plugins:
54 - cinder-tempest-plugin
55 fetch_subunit_output_additional_dirs:
56 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Chandan Kumar23e5b632018-01-04 23:36:43 +053057 irrelevant-files:
58 - ^.*\.rst$
59 - ^doc/.*$
60 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000061
62- job:
63 name: cinder-tempest-plugin-cbak-ceph
64 parent: devstack-plugin-ceph-tempest-py3
65 description: |
66 Integration tests that runs with the ceph devstack plugin, py3
67 and enable the backup service.
68 vars:
Luigi Toscanoa571b392020-04-17 19:30:23 +020069 devstack_local_conf:
70 test-config:
71 $TEMPEST_CONFIG:
72 volume-feature-enabled:
73 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +000074 devstack_services:
75 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -050076
Luigi Toscanoa571b392020-04-17 19:30:23 +020077# variant for pre-Ussuri branches (no volume revert for Ceph),
78# should this job be used on those branches
79- job:
80 name: cinder-tempest-plugin-cbak-ceph
81 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
82 vars:
83 devstack_local_conf:
84 test-config:
85 $TEMPEST_CONFIG:
86 volume-feature-enabled:
87 volume_revert: False
88
Eric Harneyfb18e1a2018-01-24 16:14:13 -050089- job:
90 name: cinder-tempest-plugin-lvm-lio-barbican
91 description: |
92 This jobs configures Cinder with LVM, LIO, barbican and
93 runs tempest tests and cinderlib tests.
94 parent: cinder-tempest-plugin-lvm-barbican-base
95 vars:
96 devstack_localrc:
97 CINDER_ISCSI_HELPER: lioadm
98
99- job:
Luigi Toscanof1441832020-05-01 19:33:21 +0200100 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8
101 parent: cinder-tempest-plugin-lvm-lio-barbican
102 nodeset: devstack-single-node-centos-8
103 description: |
104 This jobs configures Cinder with LVM, LIO, barbican and
105 runs tempest tests and cinderlib tests on CentOS 8.
106
107- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500108 name: cinder-tempest-plugin-lvm-tgt-barbican
109 description: |
110 This jobs configures Cinder with LVM, tgt, barbican and
111 runs tempest tests and cinderlib tests.
112 parent: cinder-tempest-plugin-lvm-barbican-base