Merge "CI: Add chart build gate"

This commit is contained in:
Zuul 2019-01-29 15:41:44 +00:00 committed by Gerrit Code Review
commit 70c0bd4677
4 changed files with 33 additions and 2 deletions

View File

@ -21,10 +21,12 @@
check: check:
jobs: jobs:
- openstack-tox-pep8 - openstack-tox-pep8
- airship-armada-chart-build-gate
- airship-armada-docker-build-gate - airship-armada-docker-build-gate
gate: gate:
jobs: jobs:
- openstack-tox-pep8 - openstack-tox-pep8
- airship-armada-chart-build-gate
- airship-armada-docker-build-gate - airship-armada-docker-build-gate
post: post:
jobs: jobs:
@ -36,6 +38,14 @@
- name: primary - name: primary
label: ubuntu-xenial label: ubuntu-xenial
- job:
name: airship-armada-chart-build-gate
timeout: 900
run: tools/gate/playbooks/build-charts.yaml
nodeset: airship-armada-single-node
files:
- ^charts/.*$
- job: - job:
name: airship-armada-docker-build-gate name: airship-armada-docker-build-gate
timeout: 1800 timeout: 1800

View File

@ -18,7 +18,7 @@ name: armada
version: 0.1.0 version: 0.1.0
keywords: keywords:
- armada - armada
home: https://airship-armada.readthedocs.io/ home: https://airship-armada.readthedocs.io
sources: sources:
- https://github.com/openstack/airship-armada - https://github.com/openstack/airship-armada
engine: gotpl engine: gotpl

View File

@ -18,7 +18,7 @@ name: tiller
version: 0.1.0 version: 0.1.0
keywords: keywords:
- tiller - tiller
home: https://docs.helm.sh/ home: https://docs.helm.sh
sources: sources:
- https://github.com/kubernetes/helm - https://github.com/kubernetes/helm
engine: gotpl engine: gotpl

View File

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