summaryrefslogtreecommitdiff
path: root/.zuul.yaml
blob: a38d6f16c8f09674cb99cd824495d44f33043d83 (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
- job:
    name: python-cinderclient-functional-base
    abstract: true
    parent: devstack-tox-functional
    timeout: 4500
    required-projects:
      - openstack/cinder
      - openstack/python-cinderclient
    vars:
      openrc_enable_export: true
      devstack_localrc:
        USE_PYTHON3: true
        VOLUME_BACKING_FILE_SIZE: 16G

- job:
    name: python-cinderclient-functional-py36
    parent: python-cinderclient-functional-base
    nodeset: openstack-single-node-bionic
    vars:
      python_version: 3.6
      tox_envlist: functional-py36

- job:
    name: python-cinderclient-functional-py37
    parent: python-cinderclient-functional-base
    # Just to be clear what's going on here: which python is used by
    # tox is controlled by tox.ini.  But, that python needs to
    # actually be available on the node running the job in order for
    # the job to succeed.  At this point, we can assume that 3.6 will
    # be available everywhere (this is guaranteed by openstack-infra).
    # But 3.7 is still problematic (don't ask me why).  So for this
    # job that we want running in py3.7, we need to (a) specify a
    # nodeset for which py3.7 is available, and (b) tell the job to
    # make sure it's available (i.e., install it if necessary).
    # (a) is handled by the 'nodeset' specification below.
    # (b) is handled by the setting the 'python_version' variable
    #     below, although by itself that doesn't do anything: it also
    #     requires that the 'ensure-python' role is included in the
    #     job playbook.
    nodeset: openstack-single-node-bionic
    vars:
      python_version: 3.7
      tox_envlist: functional-py37

- project:
    templates:
      - check-requirements
      - lib-forward-testing-python3
      - openstack-cover-jobs
      - openstack-lower-constraints-jobs
      - openstack-python3-victoria-jobs
      - publish-openstack-docs-pti
      - release-notes-jobs-python3
    check:
      jobs:
        - python-cinderclient-functional-py36
        - python-cinderclient-functional-py37
        - openstack-tox-pylint:
            voting: false