Browse Source

Merge "CI: Add chart build gate"

Zuul 2 months ago
parent
commit
8f7c91fb9d
2 changed files with 31 additions and 0 deletions
  1. 10
    0
      .zuul.yaml
  2. 21
    0
      tools/gate/playbooks/build-charts.yaml

+ 10
- 0
.zuul.yaml View File

@@ -14,11 +14,13 @@
14 14
     check:
15 15
       jobs:
16 16
         - airship-drydock-omni-test
17
+        - airship-drydock-chart-build-gate
17 18
         - airship-drydock-docker-build-gate
18 19
 
19 20
     gate:
20 21
       jobs:
21 22
         - airship-drydock-omni-test
23
+        - airship-drydock-chart-build-gate
22 24
         - airship-drydock-docker-build-gate
23 25
 
24 26
     post:
@@ -41,6 +43,14 @@
41 43
     timeout: 900
42 44
     nodeset: airship-drydock-single-node
43 45
 
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
+
44 54
 - job:
45 55
     name: airship-drydock-docker-build-gate
46 56
     timeout: 1800

+ 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