promenade/.zuul.yaml
Drew Walters 93a839f588 CI: Add chart build job for latest Helm toolkit
This commit introduces a non-voting job to lint Helm charts against the
latest version of Helm toolkit from OpenStack-Helm Infra. This job
should serve as an indicator of when it's safe to advance the version of
Helm toolkit used by Airship.

Additionally, this commit modifies all Helm chart lint jobs to run on
each commit, regardless of the files modified by a change. This should
not introduce a noticeable difference in CI runtime, as these jobs
execute quicker than the tox jobs.

Change-Id: I0b38ef3388629b88ea6d6f88eabdc2d7f5f69a3b
2019-05-07 20:03:22 +00:00

158 lines
5.0 KiB
YAML

# 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-chart-build-gate
- airship-promenade-chart-build-latest-htk
- airship-promenade-unit-py35
gate:
jobs:
- openstack-tox-pep8
- airship-promenade-lint-ws
- airship-promenade-docker-build-gate
- airship-promenade-doc-build
- airship-promenade-chart-build-gate
- 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-chart-build-gate
description: |
Lints charts using pinned HTK
run: tools/zuul/playbooks/helm-linter.yaml
timeout: 300
nodeset: airship-promenade-single-node
- job:
name: airship-promenade-chart-build-latest-htk
description: |
Lints charts using latest HTK
voting: false
run: tools/zuul/playbooks/helm-linter.yaml
timeout: 300
nodeset: airship-promenade-single-node
vars:
HTK_COMMIT: master
- 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/82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