Browse Source

Disable multiattach feature for stable branches before stein

Below patch enabled the multiattach feature in devstack ceph job
without branch variant. Multiattach feature is only available
from stein.
- https://review.openstack.org/#/c/638499/2

This commit makes two variant of job with multiattach enable from
stein  onwards only.

Change-Id: Ib0a5667a6125fa5ae430086db93baf5a53be4877
Closes-Bug: #1820098
ghanshyam 1 month ago
parent
commit
4fbdae805f
1 changed files with 56 additions and 4 deletions
  1. 56
    4
      .zuul.yaml

+ 56
- 4
.zuul.yaml View File

@@ -1,8 +1,8 @@
1 1
 - job:
2
-    name: devstack-plugin-ceph-tempest
2
+    name: devstack-plugin-ceph-tempest-base
3 3
     parent: tempest-full
4 4
     description: |
5
-      Integration tests that runs with the ceph devstack plugin.
5
+      Base integration tests that runs with the ceph devstack plugin.
6 6
       Former names for this job where:
7 7
         * legacy-tempest-dsvm-full-devstack-plugin-ceph
8 8
         * gate-tempest-dsvm-full-devstack-plugin-ceph-ubuntu-xenial
@@ -20,16 +20,42 @@
20 20
       devstack_localrc:
21 21
         ENABLE_FILE_INJECTION: false
22 22
         TEMPEST_PLUGINS: '/opt/stack/cinder-tempest-plugin'
23
+        ENABLE_VOLUME_MULTIATTACH: false
23 24
       tox_envlist: all
24 25
       tempest_test_regex: |
25 26
               (^tempest\.(api|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance)|(^cinder_tempest_plugin))
26 27
       tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["git.openstack.org/openstack/devstack-plugin-ceph"].src_dir }}/tempest_blacklist.txt'
27 28
 
28 29
 - job:
29
-    name: devstack-plugin-ceph-tempest-py3
30
+    name: devstack-plugin-ceph-tempest
31
+    parent: devstack-plugin-ceph-tempest-base
32
+    description: |
33
+      Integration tests that runs with the ceph devstack plugin.
34
+    branches:
35
+      - stable/ocata
36
+      - stable/pike
37
+      - stable/queens
38
+      - stable/rocky
39
+
40
+- job:
41
+    name: devstack-plugin-ceph-tempest
42
+    parent: devstack-plugin-ceph-tempest-base
43
+    description: |
44
+      Integration tests that runs with the ceph devstack plugin.
45
+
46
+      This job enable the multiattach feature enable from stein on.
47
+
48
+    # This job runs with multiattach enable from stable/stein on.
49
+    branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
50
+    vars:
51
+      devstack_localrc:
52
+        ENABLE_VOLUME_MULTIATTACH: true
53
+
54
+- job:
55
+    name: devstack-plugin-ceph-tempest-py3-base
30 56
     parent: tempest-full-py3
31 57
     description: |
32
-      Integration tests that runs with the ceph devstack plugin and py3.
58
+      Base integration tests that runs with the ceph devstack plugin and py3.
33 59
       Former names for this job where:
34 60
         * legacy-tempest-dsvm-py35-full-devstack-plugin-ceph
35 61
         * gate-tempest-dsvm-py35-full-devstack-plugin-ceph-ubuntu-xenial-nv
@@ -43,6 +69,7 @@
43 69
       devstack_localrc:
44 70
         ENABLE_FILE_INJECTION: false
45 71
         TEMPEST_PLUGINS: '/opt/stack/cinder-tempest-plugin'
72
+        ENABLE_VOLUME_MULTIATTACH: false
46 73
       devstack_plugins:
47 74
         devstack-plugin-ceph: git://git.openstack.org/openstack/devstack-plugin-ceph
48 75
       tox_envlist: all
@@ -50,6 +77,31 @@
50 77
               (^tempest\.(api|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance)|(^cinder_tempest_plugin))
51 78
       tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["git.openstack.org/openstack/devstack-plugin-ceph"].src_dir }}/tempest_blacklist.txt'
52 79
 
80
+- job:
81
+    name: devstack-plugin-ceph-tempest-py3
82
+    parent: devstack-plugin-ceph-tempest-py3-base
83
+    description: |
84
+      Integration tests that runs with the ceph devstack plugin and py3.
85
+    branches:
86
+      - stable/ocata
87
+      - stable/pike
88
+      - stable/queens
89
+      - stable/rocky
90
+
91
+- job:
92
+    name: devstack-plugin-ceph-tempest-py3
93
+    parent: devstack-plugin-ceph-tempest-py3-base
94
+    description: |
95
+      Integration tests that runs with the ceph devstack plugin and py3.
96
+
97
+      This job enable the multiattach feature enable from stein on.
98
+
99
+    # This job runs with multiattach enable from stable/stein on.
100
+    branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
101
+    vars:
102
+      devstack_localrc:
103
+        ENABLE_VOLUME_MULTIATTACH: true
104
+
53 105
 - project-template:
54 106
     name: devstack-plugin-ceph-tempest-jobs
55 107
     description: |

Loading…
Cancel
Save