summaryrefslogtreecommitdiff
path: root/.zuul.yaml
blob: e67f42c45e29773bb00d8868ae56e92b8b50bd76 (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
- job:
    name: glance_store-dsvm-functional-base
    parent: devstack-tox-functional
    description: |
      Base job for devstack-based functional tests for glance_store

      Can only be used directly if a 'functional' testenv is defined
      in tox.ini (which currently is not the case).
    required-projects:
      - openstack/glance_store
    timeout: 4200
    vars:
      devstack_localrc:
        LIBS_FROM_GIT: glance_store
      devstack_services:
        # turn off ceilometer
        ceilometer-acentral: false
        ceilometer-acompute: false
        ceilometer-alarm-evaluator: false
        ceilometer-alarm-notifier: false
        ceilometer-anotification: false
        ceilometer-api: false
        ceilometer-collector: false
      # Hardcode glance_store path so the job can be run on glance patches
      zuul_work_dir: src/opendev.org/openstack/glance_store

- job:
    name: glance_store-dsvm-functional-filesystem
    parent: glance_store-dsvm-functional-base
    vars:
      tox_envlist: functional-filesystem

- job:
    name: glance_store-dsvm-functional-swift
    parent: glance_store-dsvm-functional-base
    required-projects:
      - openstack/swift
    vars:
      tox_envlist: functional-swift
      devstack_services:
        s-account: true
        s-container: true
        s-object: true
        s-proxy: true

- job:
    name: glance_store-tox-cinder-tips-base
    parent: tox
    abstract: true
    description: Abstract job for glance_store vs. cinder
    nodeset: ubuntu-focal
    required-projects:
      - name: openstack/os-brick
      - name: openstack/python-cinderclient

- job:
    name: glance_store-tox-py36-cinder-tips
    parent: glance_store-tox-cinder-tips-base
    description: |
      glance_store py36 unit tests vs. cinder masters
    nodeset: ubuntu-bionic
    vars:
      tox_envlist: py36

- job:
    name: glance_store-tox-keystone-tips-base
    parent: tox
    abstract: true
    description: Abstract job for glance_store vs. keystone
    nodeset: ubuntu-focal
    required-projects:
      - name: openstack/keystoneauth
      - name: openstack/python-keystoneclient

- job:
    name: glance_store-tox-py36-keystone-tips
    parent: glance_store-tox-keystone-tips-base
    description: |
      glance_store py36 unit tests vs. keystone masters
    nodeset: ubuntu-bionic
    vars:
      tox_envlist: py36

- job:
    name: glance_store-tox-oslo-tips-base
    parent: tox
    abstract: true
    description: Abstract job for glance_store vs. oslo
    nodeset: ubuntu-focal
    required-projects:
      - name: openstack/oslo.concurrency
      - name: openstack/oslo.config
      - name: openstack/oslo.i18n
      - name: openstack/oslo.privsep
      - name: openstack/oslo.rootwrap
      - name: openstack/oslo.serialization
      - name: openstack/oslo.utils
      - name: openstack/oslo.vmware
      - name: openstack/stevedore

- job:
    name: glance_store-tox-py36-oslo-tips
    parent: glance_store-tox-oslo-tips-base
    description: |
      glance_store py36 unit tests vs. oslo masters
    nodeset: ubuntu-bionic
    vars:
      tox_envlist: py36

- job:
    name: glance_store-tox-swift-tips-base
    parent: tox
    abstract: true
    description: Abstract job for glance_store vs. swift
    nodeset: ubuntu-focal
    required-projects:
      - name: openstack/python-swiftclient

- job:
    name: glance_store-tox-py36-swift-tips
    parent: glance_store-tox-swift-tips-base
    description: |
      glance_store py36 unit tests vs. swift masters
    nodeset: ubuntu-bionic
    vars:
      tox_envlist: py36

- job:
    name: glance_store-src-ceph-tempest
    parent: devstack-plugin-ceph-tempest-py3
    description: |
      Runs tempest tests with the latest glance_store and the Ceph backend
      Former names for this job were:
      * legacy-tempest-dsvm-full-ceph-plugin-src-glance_store
    required-projects:
      - opendev.org/openstack/glance_store
    vars:
      tempest_test_regex: (^tempest\.(api|scenario)|(^cinder_tempest_plugin))

- job:
    name: cross-glance-tox-functional
    parent: openstack-tox
    description: |
      Run cross-project glance functional tests on glance_store.
    vars:
      zuul_work_dir: src/opendev.org/openstack/glance
      tox_envlist: functional
    required-projects:
      - openstack/glance
      - openstack/glance_store

- project:
    templates:
      - check-requirements
      - lib-forward-testing-python3
      - openstack-python3-yoga-jobs
      - publish-openstack-docs-pti
      - release-notes-jobs-python3
    check:
      jobs:
        - cross-glance-tox-functional
        - glance_store-src-ceph-tempest:
            voting: false
            irrelevant-files: &tempest-irrelevant-files
              - ^doc/.*$
              - ^releasenotes/.*$
              - ^.*\.rst$
              - ^(test-|)requirements.txt$
              - ^setup.cfg$
              - ^tox.ini$
    experimental:
      jobs:
        - glance_store-dsvm-functional-filesystem
        - glance_store-dsvm-functional-swift
    periodic:
      jobs:
        # NOTE(rosmaita): we only want the "tips" jobs to be run against
        # master, hence the 'branches' qualifiers below.  Without them, when
        # a stable branch is cut, the tests would be run against the stable
        # branch as well, which is pointless because these libraries are
        # frozen (more or less) in the stable branches.
        #
        # The "tips" jobs can be removed from the stable branch .zuul.yaml
        # files if someone is so inclined, but that would require manual
        # maintenance, so we do not do it by default.  Another option is
        # to define these jobs in the openstack/project-config repo.
        # That would make us less agile in adjusting these tests, so we
        # aren't doing that either.
        - glance_store-tox-py36-cinder-tips:
            branches: master
        - glance_store-tox-py36-keystone-tips:
            branches: master
        - glance_store-tox-py36-oslo-tips:
            branches: master
        - glance_store-tox-py36-swift-tips:
            branches: master