CI: Add chart build gate
This commit introduces a chart build gate that triggers when changes are made to charts in the charts/ directory. Change-Id: I8c2c428302f3297109f37213b93c088321b13204
This commit is contained in:
parent
d93d6d5a0a
commit
5904c9938e
10
.zuul.yaml
10
.zuul.yaml
|
@ -14,11 +14,13 @@
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- airship-drydock-omni-test
|
- airship-drydock-omni-test
|
||||||
|
- airship-drydock-chart-build-gate
|
||||||
- airship-drydock-docker-build-gate
|
- airship-drydock-docker-build-gate
|
||||||
|
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- airship-drydock-omni-test
|
- airship-drydock-omni-test
|
||||||
|
- airship-drydock-chart-build-gate
|
||||||
- airship-drydock-docker-build-gate
|
- airship-drydock-docker-build-gate
|
||||||
|
|
||||||
post:
|
post:
|
||||||
|
@ -41,6 +43,14 @@
|
||||||
timeout: 900
|
timeout: 900
|
||||||
nodeset: airship-drydock-single-node
|
nodeset: airship-drydock-single-node
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: airship-drydock-chart-build-gate
|
||||||
|
timeout: 900
|
||||||
|
run: tools/gate/playbooks/build-charts.yaml
|
||||||
|
nodeset: airship-drydock-single-node
|
||||||
|
files:
|
||||||
|
- ^charts/.*$
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: airship-drydock-docker-build-gate
|
name: airship-drydock-docker-build-gate
|
||||||
timeout: 1800
|
timeout: 1800
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
# 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: Build charts
|
||||||
|
shell: |
|
||||||
|
make charts
|
||||||
|
args:
|
||||||
|
chdir: "{{ zuul.project.src_dir }}"
|
Loading…
Reference in New Issue