Merge "CI: Add chart build job for latest Helm toolkit"
This commit is contained in:
commit
213040b429
20
.zuul.yaml
20
.zuul.yaml
@ -23,9 +23,12 @@
|
|||||||
- ^.*\.rst$
|
- ^.*\.rst$
|
||||||
- ^doc/.*$
|
- ^doc/.*$
|
||||||
- ^releasenotes/.*$
|
- ^releasenotes/.*$
|
||||||
|
- airship-divingbell-chart-build-gate
|
||||||
|
- airship-divingbell-chart-build-latest-htk
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- airship-divingbell-linter
|
- airship-divingbell-linter
|
||||||
|
- airship-divingbell-chart-build-gate
|
||||||
# NOTE(portdirect): enable when voting enabled.
|
# NOTE(portdirect): enable when voting enabled.
|
||||||
# - airship-divingbell-ubuntu:
|
# - airship-divingbell-ubuntu:
|
||||||
# irrelevant-files:
|
# irrelevant-files:
|
||||||
@ -37,6 +40,23 @@
|
|||||||
run: tools/gate/playbooks/zuul-linter.yaml
|
run: tools/gate/playbooks/zuul-linter.yaml
|
||||||
nodeset: openstack-helm-single-node
|
nodeset: openstack-helm-single-node
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: airship-divingbell-chart-build-gate
|
||||||
|
description: Builds charts using pinned Helm toolkit.
|
||||||
|
timeout: 7200
|
||||||
|
run: ./tools/gate/playbooks/build-charts.yaml
|
||||||
|
nodeset: openstack-helm-single-node
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: airship-divingbell-chart-build-latest-htk
|
||||||
|
description: Builds charts using latest Helm toolkit.
|
||||||
|
timeout: 7200
|
||||||
|
voting: false
|
||||||
|
run: ./tools/gate/playbooks/build-charts.yaml
|
||||||
|
nodeset: openstack-helm-single-node
|
||||||
|
vars:
|
||||||
|
HTK_COMMIT: master
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: airship-divingbell
|
name: airship-divingbell
|
||||||
roles:
|
roles:
|
||||||
|
24
tools/gate/playbooks/build-charts.yaml
Normal file
24
tools/gate/playbooks/build-charts.yaml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 2019, AT&T Intellectual Property
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
- hosts: primary
|
||||||
|
tasks:
|
||||||
|
- 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…
x
Reference in New Issue
Block a user