summaryrefslogtreecommitdiff
path: root/.zuul.yaml
blob: 6f5beba6c1d4ca06ac3ad7927a8bde688f879809 (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
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

- project:
    check:
      jobs:
        - openstack-tox-pep8
        - airship-promenade-lint-ws
        - airship-promenade-docker-build-gate
        - airship-promenade-doc-build
        - airship-promenade-lint-chart
        - airship-promenade-unit-py35

    gate:
      jobs:
        - openstack-tox-pep8
        - airship-promenade-lint-ws
        - airship-promenade-docker-build-gate
        - airship-promenade-doc-build
        - airship-promenade-lint-chart
        - airship-promenade-unit-py35

    post:
      jobs:
        - airship-docker-build-post

- nodeset:
    name: airship-promenade-single-node
    nodes:
      - name: primary
        label: ubuntu-xenial

- job:
    name: airship-promenade-lint-ws
    description: |
      Lints all files for trailing whitespace
    run: tools/zuul/playbooks/zuul-linter.yaml
    timeout: 300
    nodeset: airship-promenade-single-node

- job:
    name: airship-promenade-lint-chart
    description: |
      Lints Helm charts for validity
    run: tools/zuul/playbooks/helm-linter.yaml
    timeout: 300
    nodeset: airship-promenade-single-node
    files:
      - ^charts/.*$

- job:
    name: airship-promenade-unit-py35
    description: |
      Executes unit tests under Python 3.5
    run: tools/zuul/playbooks/make-tests.yaml
    timeout: 300
    nodeset: airship-promenade-single-node
    files:
      - ^.*\.py$

- job:
    name: airship-promenade-doc-build
    description: |
      Locally build the documentation to check for errors
    run: tools/zuul/playbooks/doc-build.yaml
    timeout: 300
    nodeset: airship-promenade-single-node
    irrelevant-files:
      - ^charts/.*$
      - ^etc/.*$
      - ^tests/.*$
      - ^tools/.*$

- job:
    name: airship-promenade-linter
    run: tools/zuul/playbooks/zuul-linter.yaml
    nodeset: airship-promenade-single-node

- job:
    name: airship-promenade-docker-build-gate
    run: tools/zuul/playbooks/docker-image-build.yaml
    nodeset: airship-promenade-single-node
    vars:
      publish: false
      tags:
        dynamic:
          patch_set: true
    irrelevant-files:
      - ^charts/.*$
      - ^etc/.*$
      - ^tests/.*$
      - ^tools/.*$

- job:
    name: airship-docker-build-post
    run: tools/zuul/playbooks/docker-image-build.yaml
    nodeset: ubuntu-xenial
    secrets:
      - airship_promenade_quay_creds
    vars:
      publish: true
      tags:
        dynamic:
          branch: true
          commit: true
        static:
          - latest
    irrelevant-files:
      - ^charts/.*$
      - ^etc/.*$
      - ^tests/.*$
      - ^tools/.*$

- secret:
    name: airship_promenade_quay_creds
    data:
      username: !encrypted/pkcs1-oaep
        - rZUvxa5mOBb4fmFmoYCcT67hrkI7oqrmuTb3eFzgB7LOJbiZN9/3JSnbBmgG9qeaa8kog
          ttxjwgu0+YdpKjSk/XEyWtDi6s1yqFwhlJprhS/FR91pjUxO/PGSFwhlZvTp91cb60xjL
          smg9Kp41GLHwynRboL78GyhSMLlW76Ok/xCCqnpW+60/W0iXDte0tRd5LLKtUl2b8z9kd
          Ki1MzPLMMXFZKJVtnwnjub1DWPuN9hlwasMwISsOJjE0Ri+aFz5m6qfx0jwHgCRTzPsnZ
          osHiVeRbZCjdFFRK9AWNid983VGxLz79MObO3lx1wUt9YLH2uwUSmdtBuBbHlEciOWi7x
          cUm1EWlXqx7XFTKCazYq4SYBzltqYIG9NNdIHBC7WdLTIoHBuxkDvo9fSEnR/82s80LtQ
          e4+9GPcM4dXsXy4MxRTKdQCfa87qJD8ItbTlHBYLJEQRNkKvGFOqVGtQY7DjRSZwK5GHl
          cq+9DJShfe4++d3grTJo0zp2Mv/8ronbXqRKkr5zoO3KmmaI+y1FPwsMpfjwXyWhJFEo+
          Abp9LvThSoaQLWdbLDyZrEp17Wb7fjCnoDfv9oNyD/GOEXTQJ0PYQYYsApAFGYSKA41pg
          XLCVcT1JtT9F7lbUa3fRyzLcbsjGf9PfToeYTc5BPRPZOYG0vhFcxBcj460SNo=
      password: !encrypted/pkcs1-oaep
        - o3z8xpLEED7CslvrePRIXPSnhv0y7FmffIzQmnJUDtevtxIdpHZ6wJll69FwN0gFtucLb
          WXC4Y5QHZJMmRQa444dCtvqb4Cut58fVd9EJ3hcoSYbcsvenpoq99paehOIYBuUHkq5jR
          HwolBcGAZjUavdTrDIGyDr/2nbUsfkXmAVlqYSH6Fb/H25IXn6G1ksntDm0Q2OSvtoj99
          xR9HXfpSsBWk17Cw+MJwDKsp6DZApo3Dr0todp6nOuj7l+heG8IntugxtgL5RD2NQCAZk
          KYRUjqjLpEjGFIR394ndUlLf3E4H4v+uK9lKca3tCDCMSJfRd7SUXLWhauWVHIPAvy3oR
          V20u7BrripCXuBEgg6FkMuwnkE+U9TlxaRhtoM1zZdNSMvXNyC/EDFI+HkYho+NHaj1ge
          o0oGHiqJlKMQfhNY5HpZqTPHKUmqKWShhvF7eyKYu3ynOmPyqO6SL8q/Yp7cRtm4B1s+U
          phFn3dA1xr/cNRWeEDDQvWnC2cJ5obtsDG5Fk6QqJXKtEsLguqys5B3/4ortFTxboN5Wg
          B8LXgIGR6nvi3c+UgWR1REVXIencbYUX2zAmr449NZ2kEys4WZ51EAX0u9C6uCPnwKU/T
          cnoFa9ZcVtbUzddA4j8SfRdIPUH0FmUMHAiXdcfCYhJwbRzzKC9m8C84Emf6Io=