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: Ife3b285a2f9a160df9724e9dcb230243d06be3ab
This commit is contained in:
parent
fc16d9c2e3
commit
95179f53ff
14
.zuul.yaml
14
.zuul.yaml
@ -21,6 +21,7 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-pep8
|
- openstack-tox-pep8
|
||||||
- airship-shipyard-chart-build-gate
|
- airship-shipyard-chart-build-gate
|
||||||
|
- airship-shipyard-chart-build-latest-htk
|
||||||
- airship-shipyard-whitespace-lint-gate
|
- airship-shipyard-whitespace-lint-gate
|
||||||
- airship-shipyard-image-gate
|
- airship-shipyard-image-gate
|
||||||
gate:
|
gate:
|
||||||
@ -41,11 +42,20 @@
|
|||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: airship-shipyard-chart-build-gate
|
name: airship-shipyard-chart-build-gate
|
||||||
|
description: Build charts using pinned Helm toolkit.
|
||||||
timeout: 900
|
timeout: 900
|
||||||
run: tools/gate/playbooks/build-charts.yaml
|
run: tools/gate/playbooks/build-charts.yaml
|
||||||
nodeset: airship-shipyard-single-node
|
nodeset: airship-shipyard-single-node
|
||||||
files:
|
|
||||||
- ^charts/.*$
|
- job:
|
||||||
|
name: airship-shipyard-chart-build-latest-htk
|
||||||
|
description: Build charts using latest Helm toolkit.
|
||||||
|
timeout: 900
|
||||||
|
voting: false
|
||||||
|
run: tools/gate/playbooks/build-charts.yaml
|
||||||
|
nodeset: airship-shipyard-single-node
|
||||||
|
vars:
|
||||||
|
HTK_COMMIT: master
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: airship-shipyard-whitespace-lint-gate
|
name: airship-shipyard-whitespace-lint-gate
|
||||||
|
@ -14,8 +14,11 @@
|
|||||||
|
|
||||||
- hosts: primary
|
- hosts: primary
|
||||||
tasks:
|
tasks:
|
||||||
- name: Build charts
|
- name: Execute the make target to package Helm charts.
|
||||||
shell: |
|
make:
|
||||||
make charts
|
|
||||||
args:
|
|
||||||
chdir: "{{ zuul.project.src_dir }}"
|
chdir: "{{ zuul.project.src_dir }}"
|
||||||
|
target: charts
|
||||||
|
params:
|
||||||
|
HTK_COMMIT: "{{ HTK_COMMIT | default('') }}"
|
||||||
|
register: result
|
||||||
|
failed_when: result.failed
|
||||||
|
Loading…
Reference in New Issue
Block a user