summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-01-29 15:41:44 +0000
committerGerrit Code Review <review@openstack.org>2019-01-29 15:41:44 +0000
commit70c0bd46778d975e815dfe6fa8ac61d626fc138f (patch)
treeefc0b823231505a1cb6054d0e9e952c1cfcdcba9
parent52f29ddf732f50fe457c518587c0fc115c8eb188 (diff)
parent3abea31a1f350cf2480510aced2ae2e6c9175bca (diff)
Merge "CI: Add chart build gate"
-rw-r--r--.zuul.yaml10
-rw-r--r--charts/armada/Chart.yaml2
-rw-r--r--charts/tiller/Chart.yaml2
-rw-r--r--tools/gate/playbooks/build-charts.yaml21
4 files changed, 33 insertions, 2 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 492effe..3ea8e40 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -21,10 +21,12 @@
21 check: 21 check:
22 jobs: 22 jobs:
23 - openstack-tox-pep8 23 - openstack-tox-pep8
24 - airship-armada-chart-build-gate
24 - airship-armada-docker-build-gate 25 - airship-armada-docker-build-gate
25 gate: 26 gate:
26 jobs: 27 jobs:
27 - openstack-tox-pep8 28 - openstack-tox-pep8
29 - airship-armada-chart-build-gate
28 - airship-armada-docker-build-gate 30 - airship-armada-docker-build-gate
29 post: 31 post:
30 jobs: 32 jobs:
@@ -37,6 +39,14 @@
37 label: ubuntu-xenial 39 label: ubuntu-xenial
38 40
39- job: 41- job:
42 name: airship-armada-chart-build-gate
43 timeout: 900
44 run: tools/gate/playbooks/build-charts.yaml
45 nodeset: airship-armada-single-node
46 files:
47 - ^charts/.*$
48
49- job:
40 name: airship-armada-docker-build-gate 50 name: airship-armada-docker-build-gate
41 timeout: 1800 51 timeout: 1800
42 run: tools/gate/playbooks/docker-image-build.yaml 52 run: tools/gate/playbooks/docker-image-build.yaml
diff --git a/charts/armada/Chart.yaml b/charts/armada/Chart.yaml
index 8a663ef..ace4db3 100644
--- a/charts/armada/Chart.yaml
+++ b/charts/armada/Chart.yaml
@@ -18,7 +18,7 @@ name: armada
18version: 0.1.0 18version: 0.1.0
19keywords: 19keywords:
20- armada 20- armada
21home: https://airship-armada.readthedocs.io/ 21home: https://airship-armada.readthedocs.io
22sources: 22sources:
23- https://github.com/openstack/airship-armada 23- https://github.com/openstack/airship-armada
24engine: gotpl 24engine: gotpl
diff --git a/charts/tiller/Chart.yaml b/charts/tiller/Chart.yaml
index bef35d2..f087d35 100644
--- a/charts/tiller/Chart.yaml
+++ b/charts/tiller/Chart.yaml
@@ -18,7 +18,7 @@ name: tiller
18version: 0.1.0 18version: 0.1.0
19keywords: 19keywords:
20- tiller 20- tiller
21home: https://docs.helm.sh/ 21home: https://docs.helm.sh
22sources: 22sources:
23- https://github.com/kubernetes/helm 23- https://github.com/kubernetes/helm
24engine: gotpl 24engine: gotpl
diff --git a/tools/gate/playbooks/build-charts.yaml b/tools/gate/playbooks/build-charts.yaml
new file mode 100644
index 0000000..4e93360
--- /dev/null
+++ b/tools/gate/playbooks/build-charts.yaml
@@ -0,0 +1,21 @@
1# Copyright 2019, AT&T Intellectual Property
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15- hosts: primary
16 tasks:
17 - name: Build charts
18 shell: |
19 make charts
20 args:
21 chdir: "{{ zuul.project.src_dir }}"