Browse Source

Merge "CI: Add chart build gate"

Zuul 2 months ago
parent
commit
70c0bd4677
4 changed files with 33 additions and 2 deletions
  1. 10
    0
      .zuul.yaml
  2. 1
    1
      charts/armada/Chart.yaml
  3. 1
    1
      charts/tiller/Chart.yaml
  4. 21
    0
      tools/gate/playbooks/build-charts.yaml

+ 10
- 0
.zuul.yaml View File

@@ -21,10 +21,12 @@
21 21
     check:
22 22
       jobs:
23 23
         - openstack-tox-pep8
24
+        - airship-armada-chart-build-gate
24 25
         - airship-armada-docker-build-gate
25 26
     gate:
26 27
       jobs:
27 28
         - openstack-tox-pep8
29
+        - airship-armada-chart-build-gate
28 30
         - airship-armada-docker-build-gate
29 31
     post:
30 32
       jobs:
@@ -36,6 +38,14 @@
36 38
       - name: primary
37 39
         label: ubuntu-xenial
38 40
 
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
+
39 49
 - job:
40 50
     name: airship-armada-docker-build-gate
41 51
     timeout: 1800

+ 1
- 1
charts/armada/Chart.yaml View File

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

+ 1
- 1
charts/tiller/Chart.yaml View File

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

+ 21
- 0
tools/gate/playbooks/build-charts.yaml View File

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

Loading…
Cancel
Save