summaryrefslogtreecommitdiff
path: root/.zuul.yaml
blob: 5104702c73c2b36cee7df282ae56fb4718576b74 (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
- job:
    name: swiftclient-swift-functional
    parent: swift-dsvm-functional
    description: |
      Run swift's functional tests with python-swiftclient
      installed from source instead as package from PyPI.
    # Ensure that we install python-swiftclient from git and
    # do not install from pypi. This is needed since the parent
    # job sets zuul_work_dir to the swift directory and uses tox
    # for installation.
    required-projects:
      - opendev.org/openstack/python-swiftclient

- job:
    name: swiftclient-swift-functional-identity-v2
    parent: swift-dsvm-functional-identity-v2
    description: |
      Run swift's functional tests with python-swiftclient
      installed from source instead as package from PyPI.

      This uses Identity API 2.0.
    # Ensure that we install python-swiftclient from git and
    # do not install from pypi. This is needed since the parent
    # job sets zuul_work_dir to the swift directory and uses tox
    # for installation.
    required-projects:
      - opendev.org/openstack/python-swiftclient

- job:
    name: swiftclient-functional
    parent: swift-dsvm-functional
    description: |
      Run functional tests of python-swiftclient with
      python-swiftclient installed from source instead as package from
      PyPI.

      This uses Identity API 2.0.
    required-projects:
      - opendev.org/openstack/python-swiftclient
    vars:
      # Override value from parent job to use swiftclient tests
      zuul_work_dir: "{{ zuul.projects['opendev.org/openstack/python-swiftclient'].src_dir }}"

- job:
    name: swiftclient-functional-identity-v2
    parent: swift-dsvm-functional-identity-v2
    description: |
      Run functional tests of python-swiftclient with
      python-swiftclient installed from source instead as package from
      PyPI.
    required-projects:
      - opendev.org/openstack/python-swiftclient
    vars:
      # Override value from parent job to use swiftclient tests
      zuul_work_dir: "{{ zuul.projects['opendev.org/openstack/python-swiftclient'].src_dir }}"

- project:
    templates:
      - openstack-python-jobs
      - openstack-python35-jobs
      - publish-openstack-sphinx-docs
      - check-requirements
      - openstack-pypy-jobs-nonvoting
      - lib-forward-testing
      - release-notes-jobs
    check:
      jobs:
        - swiftclient-swift-functional:
            voting: false
        - swiftclient-functional:
            voting: false
        - swiftclient-swift-functional-identity-v2
        - swiftclient-functional-identity-v2
        - openstack-tox-py36:
            voting: false
    gate:
      jobs:
        - swiftclient-swift-functional
        - swiftclient-functional
        - swiftclient-swift-functional-identity-v2
        - swiftclient-functional-identity-v2
    post:
      jobs:
        - openstack-tox-cover