Merge "CI: Add chart build job for latest Helm toolkit"

This commit is contained in:
Zuul 2019-04-17 16:26:28 +00:00 committed by Gerrit Code Review
commit 22a4f01cb7
2 changed files with 21 additions and 6 deletions

View File

@ -15,6 +15,7 @@
jobs:
- airship-drydock-omni-test
- airship-drydock-chart-build-gate
- airship-drydock-chart-build-latest-htk
- airship-drydock-docker-build-gate
gate:
@ -45,11 +46,22 @@
- job:
name: airship-drydock-chart-build-gate
description: |
Builds charts using pinned Helm toolkit.
timeout: 900
run: tools/gate/playbooks/build-charts.yaml
nodeset: airship-drydock-single-node
files:
- ^charts/.*$
- job:
name: airship-drydock-chart-build-latest-htk
description: |
Builds charts using latest Helm toolkit.
timeout: 900
voting: false
run: tools/gate/playbooks/build-charts.yaml
nodeset: airship-drydock-single-node
vars:
HTK_COMMIT: master
- job:
name: airship-drydock-docker-build-gate

View File

@ -14,8 +14,11 @@
- hosts: primary
tasks:
- name: Build charts
shell: |
make charts
args:
- name: Execute the make target to package Helm charts.
make:
chdir: "{{ zuul.project.src_dir }}"
target: charts
params:
HTK_COMMIT: "{{ HTK_COMMIT | default('') }}"
register: result
failed_when: result.failed