Verify Helm charts in ric-plt/ric-dep/helm 39/3039/3
authorLott, Christopher (cl778h) <cl778h@att.com>
Fri, 27 Mar 2020 18:35:34 +0000 (14:35 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Fri, 27 Mar 2020 20:00:51 +0000 (16:00 -0400)
Add job to invoke shell script in repo to verify helm charts
elsewhere in same repo

Issue-ID: INT-109
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I07ae372a23547196b491e7568ef3510ca4ccc526

jjb/ric-plt-ric-dep/ric-plt-ric-dep.yaml

index 9dea7b3..89b48cf 100644 (file)
@@ -1,8 +1,35 @@
 ---
 - project:
-    name: ric-plt-ric-dep-info
+    name: ric-plt-ric-dep-project-view
     project-name: ric-plt-ric-dep
+    views:
+      - project-view
+
+- dep_common: &dep_common
+    name: dep-common
+    # git repo
     project: ric-plt/ric-dep
+    # jenkins job name prefix
+    project-name: ric-plt-ric-dep
+    # maven settings file has credentials
+    mvn-settings: ric-plt-ric-dep-settings
+
+- project:
+    <<: *dep_common
+    name: ric-plt-ric-dep-info
     build-node: centos7-builder-1c-1g
     jobs:
       - gerrit-info-yaml-verify
+
+- project:
+    <<: *dep_common
+    name: ric-plt-ric-dep-chart
+    project-name: '{name}'
+    build-node: ubuntu1804-builder-2c-2g
+    script: "cd bin && bash verify-ric-charts"
+    # limit scope to subdir with helm charts
+    gerrit_trigger_file_paths:
+      - compare-type: REG_EXP
+        pattern: 'helm/.*'
+    jobs:
+      - oran-shell-verify