blob: 63671db88cfa34c9b7fe9a4dcf941f16a55563af [file] [log] [blame]
Peter Pentchev8e3d2952022-11-10 18:31:17 +02001- job:
Peter Pentchev251b1f52022-11-18 10:52:30 +02002 name: cinder-storpool-tempest
Peter Pentchev83bbdce2022-11-22 14:45:07 +02003 parent: tempest-full
Peter Pentchev8e3d2952022-11-10 18:31:17 +02004 pre-run: playbooks/sp-init.yaml
5 run: playbooks/tempest-and-cinderlib-run.yaml
6 post-run: playbooks/sp-cleanup.yaml
7 required-projects:
Peter Pentchev1e7ec642022-11-22 14:25:21 +02008 - opendev.org/openstack/cinderlib
9 - opendev.org/openstack/os-brick
10 - opendev.org/openstack/tempest
11 - opendev.org/openstack/cinder-tempest-plugin
12 # - config
Peter Pentchev251b1f52022-11-18 10:52:30 +020013 - sp-osci
Peter Pentchev130ab072022-12-12 23:03:50 +020014 timeout: 10800
Peter Pentchev83bbdce2022-11-22 14:45:07 +020015 vars:
16 devstack_localrc:
17 CINDER_ENABLED_BACKENDS: storpool:storpool
18 # CINDER_ISCSI_HELPER: tgtadm
19 ENABLE_FILE_INJECTION: false
Peter Pentchev83bbdce2022-11-22 14:45:07 +020020 TEMPEST_CONCURRENCY: 2
21 TEMPEST_EXTEND_ATTACHED_VOLUME: true
22 TEMPEST_PLUGINS: cinder-tempest-plugin
23 TEMPEST_RUN_VALIDATION: false
24 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: true
25 TEMPEST_VOLUME_VENDOR: StorPool
Peter Pentchev83bbdce2022-11-22 14:45:07 +020026 USE_PYTHON3: True
Peter Pentchevf95d3ff2023-01-10 01:04:09 +020027 # cfg: block
28 TEMPEST_STORAGE_PROTOCOL: storpool
29 ENABLE_VOLUME_MULTIATTACH: true
Peter Pentchev83bbdce2022-11-22 14:45:07 +020030 devstack_local_conf:
31 post-config:
32 $CINDER_CONF:
33 storpool:
34 volume_backend_name: storpool
35 volume_driver: cinder.volume.drivers.storpool.StorPoolDriver
36 storpool_template: virtual
37 # enable_unsupported_driver: true
Peter Pentchevf95d3ff2023-01-10 01:04:09 +020038 tox_envlist: all
39 tempest_test_regex: |
40 volume
41# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
42
43- job:
44 name: cinder-storpool-tempest-iscsi
45 parent: cinder-storpool-tempest
46 vars:
Peter Pentchev5e96b242023-01-13 14:19:07 +020047 sp_experimental: true
Peter Pentchevf95d3ff2023-01-10 01:04:09 +020048 devstack_localrc:
49 # cfg: iscsi
50 TEMPEST_STORAGE_PROTOCOL: iscsi
51 ENABLE_VOLUME_MULTIATTACH: false
52 devstack_local_conf:
53 post-config:
54 $CINDER_CONF:
55 storpool:
Peter Pentcheve1881c82023-01-03 17:08:23 +020056 # cfg: iscsi
57 iscsi_export_to: "\\\\*"
58 iscsi_portal_group: pg
Peter Pentchev61dd8632022-12-12 13:53:14 +020059 tempest_test_regex: |
Peter Pentcheva5783c72023-01-24 08:30:02 +020060 volume|^cinder_tempest_plugin
61# ^cinder_tempest_plugin
Peter Pentchev3dbe2482023-01-03 14:58:00 +020062# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
Peter Pentcheve6834902022-11-10 18:37:29 +020063
Peter Pentchev822af3f2022-12-08 14:51:58 +020064- project:
65 name: openstack/cinder
Peter Pentchevf95d3ff2023-01-10 01:04:09 +020066 check:
Peter Pentchev822af3f2022-12-08 14:51:58 +020067 jobs:
68 - cinder-storpool-tempest:
69 branches: master
Peter Pentchevf95d3ff2023-01-10 01:04:09 +020070 experimental:
71 jobs:
72 - cinder-storpool-tempest-iscsi:
73 branches: master