Browse Source

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

changes/11/653611/1
Zuul 3 years ago
committed by Gerrit Code Review
parent
commit
aa909ed2eb
  1. 14
      .zuul.yaml
  2. 11
      tools/gate/playbooks/build-charts.yaml

14
.zuul.yaml

@ -21,6 +21,7 @@
jobs:
- openstack-tox-pep8
- airship-shipyard-chart-build-gate
- airship-shipyard-chart-build-latest-htk
- airship-shipyard-whitespace-lint-gate
- airship-shipyard-image-gate
gate:
@ -41,11 +42,20 @@
- job:
name: airship-shipyard-chart-build-gate
description: Build charts using pinned Helm toolkit.
timeout: 900
run: tools/gate/playbooks/build-charts.yaml
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:
name: airship-shipyard-whitespace-lint-gate

11
tools/gate/playbooks/build-charts.yaml

@ -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

Loading…
Cancel
Save