summaryrefslogtreecommitdiff
path: root/.zuul.yaml
blob: 87d2a59f4e15afcf24d025ed5666d4e7a28a3240 (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
- nodeset:
    name: zuul-functional-temp-master
    nodes:
      - name: controller
        label: ubuntu-xenial
      - name: node1
        label: ubuntu-xenial
      - name: node2
        label: ubuntu-xenial
    groups:
      - name: node
        nodes:
          - node1
          - node2

- job:
    name: zuul-stream-functional
    parent: multinode
    nodeset: zuul-functional-temp-master
    pre-run: playbooks/zuul-stream/pre.yaml
    run: playbooks/zuul-stream/functional.yaml
    post-run:
      - playbooks/zuul-stream/post.yaml
      - playbooks/zuul-stream/post-ara.yaml
    required-projects:
      - openstack/ara
    files:
      - zuul/ansible/.*
      - playbooks/zuul-stream/.*
      - requirements.txt

- job:
    name: zuul-tox-remote
    parent: tox
    vars:
      tox_envlist: remote
      tox_environment:
        ZUUL_SSH_KEY: /home/zuul/.ssh/id_rsa
        ZUUL_REMOTE_IPV4: "{{ nodepool.interface_ip }}"
        ZUUL_REMOTE_KEEP: "true"

- job:
    name: zuul-build-dashboard
    parent: build-javascript-content
    success-url: 'npm/html/'
    files:
      - web/.*
      - playbooks/dashboard/.*
    vars:
      javascript_content_dir: "../zuul/web/static"
      zuul_work_dir: "{{ zuul.project.src_dir }}/web"
      zuul_api_url: https://zuul.openstack.org
    run: playbooks/dashboard/run.yaml

- job:
    name: zuul-build-dashboard-multi-tenant
    parent: zuul-build-dashboard
    vars:
      zuul_api_url: https://softwarefactory-project.io/zuul

- job:
    name: zuul-quick-start
    description: Run the commands in the Zuul quick-start documentation.
    run: playbooks/quick-start/run.yaml
    post-run: playbooks/quick-start/post.yaml
    roles:
      - zuul: openstack-infra/zuul-jobs
    required-projects:
      - openstack/pbrx
      - openstack-infra/nodepool
      - openstack-infra/zuul

- project:
    check:
      jobs:
        - tox-docs
        - tox-pep8
        - tox-py35:
            irrelevant-files:
              - zuul/cmd/migrate.py
              - playbooks/zuul-migrate/.*
        - tox-py36:
            nodeset: ubuntu-bionic
            irrelevant-files:
              - zuul/cmd/migrate.py
              - playbooks/zuul-migrate/.*
        - zuul-build-dashboard
        - zuul-build-dashboard-multi-tenant
        - nodejs-npm-run-lint:
            vars:
              node_version: 8
              zuul_work_dir: "{{ zuul.project.src_dir }}/web"
        - nodejs-npm-run-test:
            vars:
              node_version: 8
              zuul_work_dir: "{{ zuul.project.src_dir }}/web"
            success-url: 'npm/reports/bundle.html'
            files:
              - web/.*
        - zuul-stream-functional
        - zuul-tox-remote
        - zuul-quick-start
        - pbrx-build-container-images:
            vars:
              pbrx_prefix: zuul
        - nodepool-zuul-functional:
            voting: false
    gate:
      jobs:
        - tox-docs
        - tox-pep8
        - tox-py35:
            irrelevant-files:
              - zuul/cmd/migrate.py
              - playbooks/zuul-migrate/.*
        - tox-py36:
            nodeset: ubuntu-bionic
            irrelevant-files:
              - zuul/cmd/migrate.py
              - playbooks/zuul-migrate/.*
        - zuul-build-dashboard
        - nodejs-npm-run-lint:
            vars:
              node_version: 8
              zuul_work_dir: "{{ zuul.project.src_dir }}/web"
        - nodejs-npm-run-test:
            vars:
              node_version: 8
              zuul_work_dir: "{{ zuul.project.src_dir }}/web"
            success-url: 'npm/reports/bundle.html'
            files:
              - web/.*
        - zuul-stream-functional
        - zuul-tox-remote
        - zuul-quick-start
        - pbrx-build-container-images:
            vars:
              pbrx_prefix: zuul
    post:
      jobs:
        - publish-zuul-docs
        - publish-zuul-python-branch-tarball
        - publish-openstack-javascript-content:
            vars:
              node_version: 8
              zuul_work_dir: "{{ zuul.project.src_dir }}/web"
              create_tarball_directory: build
        - openstackzuul-pbrx-push-container-images:
            vars:
              pbrx_prefix: zuul

    release:
      jobs:
        - release-zuul-python
        - publish-zuul-docs