File: .zuul.yaml

package info (click to toggle)
python-glanceclient 1:2.13.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,428 kB
  • sloc: python: 14,764; sh: 110; makefile: 35
file content (171 lines) | stat: -rw-r--r-- 5,354 bytes parent folder | download
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
- job:
    name: glanceclient-dsvm-functional-v1
    parent: devstack-tox-functional
    description: |
      Devstack-based functional tests for glanceclient
      against the Image API v1.

      The Image API v1 is removed from glance in Rocky, but
      is still supported by glanceclient until the S cycle,
      so we test it against glance stable/queens.

      THIS JOB SHOULD BE REMOVED AT THE BEGINNING OF THE S
      CYCLE.
    override-checkout: stable/queens
    required-projects:
      - name: openstack/python-glanceclient
        override-checkout: master
    timeout: 4200
    vars:
      tox_envlist: functional-v1
      devstack_localrc:
        GLANCE_V1_ENABLED: true
      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
        # turn on swift
        s-account: true
        s-container: true
        s-object: true
        s-proxy: true
      # Hardcode glanceclient path so the job can be run on glance patches
      zuul_work_dir: src/git.openstack.org/openstack/python-glanceclient

- job:
    name: glanceclient-dsvm-functional
    parent: devstack-tox-functional
    description: |
      Devstack-based functional tests for glanceclient.

      These test glanceclient against Image API v2 only.
    required-projects:
      - openstack/python-glanceclient
    timeout: 4200
    vars:
      devstack_localrc:
        LIBS_FROM_GIT: python-glanceclient
      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
        # turn on swift
        s-account: true
        s-container: true
        s-object: true
        s-proxy: true
      # Hardcode glanceclient path so the job can be run on glance patches
      zuul_work_dir: src/git.openstack.org/openstack/python-glanceclient

- job:
    name: glanceclient-tox-keystone-tips-base
    parent: tox
    abstract: true
    description: Abstract job for glanceclient vs. keystone
    required-projects:
      - name: openstack/keystoneauth

- job:
    name: glanceclient-tox-py27-keystone-tips
    parent: glanceclient-tox-keystone-tips-base
    description: |
      glanceclient py27 unit tests vs. keystone masters
    vars:
      tox_envlist: py27

- job:
    name: glanceclient-tox-py35-keystone-tips
    parent: glanceclient-tox-keystone-tips-base
    description: |
      glanceclient py35 unit tests vs. keystone masters
    vars:
      tox_envlist: py35

- job:
    name: glanceclient-tox-oslo-tips-base
    parent: tox
    abstract: true
    description: Abstract job for glanceclient vs. oslo
    required-projects:
      - name: openstack/oslo.i18n
      - name: openstack/oslo.utils

- job:
    name: glanceclient-tox-py27-oslo-tips
    parent: glanceclient-tox-oslo-tips-base
    description: |
      glanceclient py27 unit tests vs. oslo masters
    vars:
      tox_envlist: py27

- job:
    name: glanceclient-tox-py35-oslo-tips
    parent: glanceclient-tox-oslo-tips-base
    description: |
      glanceclient py35 unit tests vs. oslo masters
    vars:
      tox_envlist: py35

- job:
    name: glanceclient-dsvm-functional-py3
    parent: glanceclient-dsvm-functional
    vars:
      devstack_localrc:
        USE_PYTHON3: true

- project:
    templates:
      - openstack-python-jobs
      - openstack-python35-jobs
      - release-notes-jobs
      - publish-openstack-sphinx-docs
      - check-requirements
      - lib-forward-testing
    check:
      jobs:
        - glanceclient-dsvm-functional-v1
        - glanceclient-dsvm-functional
        - openstack-tox-lower-constraints
    gate:
      jobs:
        - glanceclient-dsvm-functional-v1
        - glanceclient-dsvm-functional
        - openstack-tox-lower-constraints
    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-infra/project-config repo.
        # That would make us less agile in adjusting these tests, so we
        # aren't doing that either.
        - glanceclient-tox-py27-keystone-tips:
            branches: master
        - glanceclient-tox-py35-keystone-tips:
            branches: master
        - glanceclient-tox-py27-oslo-tips:
            branches: master
        - glanceclient-tox-py35-oslo-tips:
            branches: master
    experimental:
      jobs:
        - glanceclient-dsvm-functional-py3
    post:
      jobs:
        - openstack-tox-cover