summaryrefslogtreecommitdiff
path: root/.zuul.yaml
blob: 46d8294b170a185f3fa650bfeb62ba99346061d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

- job:
    name: keystone-dsvm-functional
    parent: devstack-tempest
    timeout: 4200
    required-projects:
      - openstack/devstack-gate
      - openstack/keystone
      - openstack/keystone-tempest-plugin
    vars:
      tox_envlist: all
      tempest_test_regex: 'keystone_tempest_plugin'
      devstack_localrc:
        TEMPEST_PLUGINS: '/opt/stack/keystone-tempest-plugin'

- job:
    name: keystone-dsvm-py3-functional
    parent: keystone-dsvm-functional
    vars:
      devstack_localrc:
        TEMPEST_PLUGINS: '/opt/stack/keystone-tempest-plugin'
        USE_PYTHON3: True

- job:
    name: keystone-dsvm-py3-functional-fips
    parent: keystone-dsvm-py3-functional
    nodeset: devstack-single-node-centos-8-stream
    description: |
      Functional testing for a FIPS enabled Centos 8 system
    pre-run: playbooks/enable-fips.yaml

- job:
    name: keystone-dsvm-functional-federation-opensuse15
    parent: keystone-dsvm-functional
    nodeset: devstack-single-node-opensuse-15
    vars:
      devstack_localrc:
        TEMPEST_PLUGINS: '/opt/stack/keystone-tempest-plugin'
      devstack_services:
        keystone-saml2-federation: true
        tls-proxy: false
      devstack_plugins:
        keystone: https://opendev.org/openstack/keystone
      zuul_copy_output:
        /etc/shibboleth: logs
        /var/log/shibboleth: logs

- job:
    name: keystone-dsvm-py3-functional-federation-opensuse15
    parent: keystone-dsvm-functional-federation-opensuse15
    vars:
      devstack_localrc:
        TEMPEST_PLUGINS: '/opt/stack/keystone-tempest-plugin'
        USE_PYTHON3: True
      zuul_copy_output:
        /etc/shibboleth: logs
        /var/log/shibboleth: logs

- job:
    name: keystone-dsvm-py3-functional-federation-opensuse15-k2k
    parent: keystone-dsvm-py3-functional-federation-opensuse15
    vars:
      devstack_localrc:
        IDP_ID: k2k

- job:
    name: keystone-dsvm-py3-functional-federation-ubuntu-focal
    parent: keystone-dsvm-functional
    nodeset: openstack-single-node-focal
    vars:
      devstack_localrc:
        TEMPEST_PLUGINS: '/opt/stack/keystone-tempest-plugin'
        USE_PYTHON3: True
      devstack_services:
        keystone-saml2-federation: true
        tls-proxy: false
      devstack_plugins:
        keystone: https://opendev.org/openstack/keystone
      zuul_copy_output:
        /etc/shibboleth: logs
        /var/log/shibboleth: logs

- job:
    name: keystone-dsvm-py3-functional-federation-ubuntu-focal-k2k
    parent: keystone-dsvm-py3-functional-federation-ubuntu-focal
    vars:
      devstack_localrc:
        IDP_ID: k2k

# This job will execute 'tox -e upgrade' from the OSA
# repo specified in 'osa_test_repo'.
- job:
    name: openstack-ansible-keystone-rolling-upgrade
    parent: openstack-ansible-cross-repo-functional
    required-projects:
      - name: openstack/openstack-ansible-os_keystone
    vars:
      tox_env: upgrade
      osa_test_repo: openstack/openstack-ansible-os_keystone

- job:
    name: keystone-dsvm-ldap-domain-specific-driver
    parent: devstack-tempest
    vars:
      devstack_localrc:
        KEYSTONE_CLEAR_LDAP: 'yes'
        LDAP_PASSWORD: 'nomoresecret'
        USE_PYTHON3: True
      devstack_services:
        ldap: true

# Experimental
- job:
    name: keystone-tox-patch_cover
    parent: openstack-tox
    description: |
      Run test for keystone project.

      Uses tox with the ``patch_cover`` environment.
    vars:
      tox_envlist: patch_cover

# Experimental
- job:
    name: keystone-grenade-multinode
    parent: grenade-multinode
    required-projects:
      - openstack/grenade
      - openstack/keystone
    vars:
      devstack_plugins:
        keystone: https://opendev.org/openstack/keystone
      grenade_devstack_localrc:
        shared:
          MULTI_KEYSTONE: True

# Experimental
- job:
    name: keystone-dsvm-functional-federation-centos7
    parent: keystone-dsvm-functional
    nodeset: devstack-single-node-centos-7
    vars:
      devstack_localrc:
        TEMPEST_PLUGINS: '/opt/stack/keystone-tempest-plugin'
      devstack_services:
        keystone-saml2-federation: true
        tls-proxy: false
      devstack_plugins:
        keystone: https://opendev.org/openstack/keystone
      zuul_copy_output:
        /etc/shibboleth: logs

# Experimental
- job:
    name: keystone-dsvm-functional-federation-ubuntu-xenial
    parent: keystone-dsvm-functional
    nodeset: openstack-single-node-xenial
    vars:
      devstack_localrc:
        TEMPEST_PLUGINS: '/opt/stack/keystone-tempest-plugin'
      devstack_services:
        keystone-saml2-federation: true
        tls-proxy: false
      devstack_plugins:
        keystone: https://opendev.org/openstack/keystone
      zuul_copy_output:
        /etc/shibboleth: logs

# Experimental
- job:
    name: keystone-dsvm-py35-functional-federation-ubuntu-xenial
    parent: keystone-dsvm-functional-federation
    vars:
      devstack_localrc:
        TEMPEST_PLUGINS: '/opt/stack/keystone-tempest-plugin'
        USE_PYTHON3: True
      zuul_copy_output:
        /etc/shibboleth: logs

# Experimental
# Transitional rename
- job:
    name: keystone-dsvm-functional-federation
    parent: keystone-dsvm-functional-federation-ubuntu-xenial

# Experimental
# Transitional rename
- job:
    name: keystone-dsvm-py35-functional-federation
    parent: keystone-dsvm-py35-functional-federation-ubuntu-xenial

- project:
    templates:
      - openstack-cover-jobs
      - openstack-python3-wallaby-jobs
      - publish-openstack-docs-pti
      - periodic-stable-jobs
      - check-requirements
      - integrated-gate-py3
      - release-notes-jobs-python3
      - openstack-python3-wallaby-jobs-arm64
    check:
      jobs:
        - keystone-dsvm-py3-functional:
            irrelevant-files: &irrelevant-files
              - ^.*\.rst$
              - ^api-ref/.*$
              - ^doc/.*$
              - ^etc/.*$
              - ^keystone/tests/unit/.*$
              - ^releasenotes/.*$
        - keystone-dsvm-py3-functional-fips:
            voting: false
            irrelevant-files: *irrelevant-files
        - keystone-dsvm-py3-functional-federation-ubuntu-focal:
            voting: false
            irrelevant-files: *irrelevant-files
        - keystone-dsvm-py3-functional-federation-ubuntu-focal-k2k:
            irrelevant-files: *irrelevant-files
        - keystoneclient-devstack-functional:
            voting: false
            irrelevant-files: *irrelevant-files
        - keystone-dsvm-ldap-domain-specific-driver:
            voting: false
            irrelevant-files: &tempest-irrelevant-files
              - ^(test-|)requirements.txt$
              - ^.*\.rst$
              - ^api-ref/.*$
              - ^doc/.*$
              - ^etc/.*$
              - ^keystone/tests/unit/.*$
              - ^releasenotes/.*$
              - ^setup.cfg$
        - tempest-full-py3:
            irrelevant-files: *tempest-irrelevant-files
        - grenade:
            irrelevant-files: *tempest-irrelevant-files
        - tempest-ipv6-only:
            irrelevant-files: *tempest-irrelevant-files
        - keystone-protection-functional
    gate:
      jobs:
        - keystone-dsvm-py3-functional:
            irrelevant-files: *irrelevant-files
        - keystone-dsvm-py3-functional-federation-ubuntu-focal-k2k:
            irrelevant-files: *irrelevant-files
        - tempest-full-py3:
            irrelevant-files: *tempest-irrelevant-files
        - grenade:
            irrelevant-files: *tempest-irrelevant-files
        - tempest-ipv6-only:
            irrelevant-files: *tempest-irrelevant-files
        - keystone-protection-functional
    experimental:
      jobs:
        - keystone-tox-patch_cover
        - keystone-grenade-multinode:
            irrelevant-files: *irrelevant-files
        - openstack-ansible-keystone-rolling-upgrade:
            irrelevant-files: *irrelevant-files
        - tempest-pg-full:
            irrelevant-files: *tempest-irrelevant-files
        - keystone-dsvm-functional-federation-centos7:
            irrelevant-files: *irrelevant-files
        - keystone-dsvm-functional-federation-ubuntu-xenial:
            irrelevant-files: *irrelevant-files
        - keystone-dsvm-py35-functional-federation-ubuntu-xenial:
            irrelevant-files: *irrelevant-files