summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-02-11 18:24:40 +0000
committerGerrit Code Review <review@openstack.org>2019-02-11 18:24:40 +0000
commit8f7c91fb9dc97824d426d7384ad1b8dbbf0552c9 (patch)
tree5e14a2bb2026d8a97ae5a6056dbc67af9c636076
parent02ae2bf0eeeec0754a634696a9ddaa2addd4601c (diff)
parent5904c9938eb156e69a27e9bb3aa4724c1233f200 (diff)
Merge "CI: Add chart build gate"
-rw-r--r--.zuul.yaml10
-rw-r--r--tools/gate/playbooks/build-charts.yaml21
2 files changed, 31 insertions, 0 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index bd87670..4e36ce9 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -14,11 +14,13 @@
14 check: 14 check:
15 jobs: 15 jobs:
16 - airship-drydock-omni-test 16 - airship-drydock-omni-test
17 - airship-drydock-chart-build-gate
17 - airship-drydock-docker-build-gate 18 - airship-drydock-docker-build-gate
18 19
19 gate: 20 gate:
20 jobs: 21 jobs:
21 - airship-drydock-omni-test 22 - airship-drydock-omni-test
23 - airship-drydock-chart-build-gate
22 - airship-drydock-docker-build-gate 24 - airship-drydock-docker-build-gate
23 25
24 post: 26 post:
@@ -42,6 +44,14 @@
42 nodeset: airship-drydock-single-node 44 nodeset: airship-drydock-single-node
43 45
44- job: 46- job:
47 name: airship-drydock-chart-build-gate
48 timeout: 900
49 run: tools/gate/playbooks/build-charts.yaml
50 nodeset: airship-drydock-single-node
51 files:
52 - ^charts/.*$
53
54- job:
45 name: airship-drydock-docker-build-gate 55 name: airship-drydock-docker-build-gate
46 timeout: 1800 56 timeout: 1800
47 run: tools/gate/playbooks/docker-image-build.yaml 57 run: tools/gate/playbooks/docker-image-build.yaml
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 }}"