summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Phelps <jphelps@linuxfoundation.org>2018-08-07 11:08:48 -0500
committerJeremy Phelps <jphelps@linuxfoundation.org>2018-08-09 17:28:50 +0000
commit08126d8a19632ddcf42763e59aec64da968a2b42 (patch)
tree08eaf465c97c266b257be909f8977af638ea1db2
parentc4907e6893540f4a2edd815e57e3d872c250f716 (diff)
Instantiate helm jobs
Issue-ID: CIMAN-164 Change-Id: I020e408c98af2b5ed3f50661f70b7fe2b2912199 Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
-rw-r--r--jjb/oom/oom-helm.yaml83
-rw-r--r--shell/helm-repo-init.sh9
2 files changed, 92 insertions, 0 deletions
diff --git a/jjb/oom/oom-helm.yaml b/jjb/oom/oom-helm.yaml
new file mode 100644
index 000000000..003a74335
--- /dev/null
+++ b/jjb/oom/oom-helm.yaml
@@ -0,0 +1,83 @@
+---
+- project:
+ name: oom
+ project-name: oom
+ project: oom
+ mvn-settings: oom-settings
+ archive-artifacts: ''
+ build-node: ubuntu1604-helm-2c-1g
+ pre_build_script: !include-raw-escape: shell/helm-repo-init.sh
+ stream:
+ - 'master':
+ branch: 'master'
+
+ subproject:
+ - 'aaf':
+ files: 'kubernetes/aaf/**'
+ - 'aai':
+ files: 'kubernetes/aai/**'
+ - 'appc':
+ files: 'kubernetes/appc/**'
+ - 'clamp':
+ files: 'kubernetes/clamp/**'
+ - 'cli':
+ files: 'kubernetes/cli/**'
+ - 'common':
+ files: 'kubernetes/common/**'
+ - 'consul':
+ files: 'kubernetes/consul/**'
+ - 'dcaegen2':
+ files: 'kubernetes/dcaegen2/**'
+ - 'dmaap':
+ files: 'kubernetes/dmaap/**'
+ - 'esr':
+ files: 'kubernetes/esr/**'
+ - 'log':
+ files: 'kubernetes/log/**'
+ - 'msb':
+ files: 'kubernetes/msb/**'
+ - 'multicloud':
+ files: 'kubernetes/multicloud/**'
+ - 'nbi':
+ files: 'kubernetes/nbi/**'
+ - 'oof':
+ files: 'kubernetes/oof/**'
+ - 'policy':
+ files: 'kubernetes/policy/**'
+ - 'portal':
+ files: 'kubernetes/portal/**'
+ - 'readiness':
+ files: 'kubernetes/readiness/**'
+ - 'robot':
+ files: 'kubernetes/robot/**'
+ - 'sdc':
+ files: 'kubernetes/sdc/**'
+ - 'sdnc':
+ files: 'kubernetes/sdnc/**'
+ - 'sniro-emulator':
+ files: 'kubernetes/sniro-emulator/**'
+ - 'so':
+ files: 'kubernetes/so/**'
+ - 'uui':
+ files: 'kubernetes/uui/**'
+ - 'vfc':
+ files: 'kubernetes/vfc/**'
+ - 'vid':
+ files: 'kubernetes/vid/**'
+ - 'vnfsdk':
+ files: 'kubernetes/vnfsdk/**'
+
+ jobs:
+ - '{project-name}-{stream}-verify-helm':
+ build_script: 'cd kubernetes/ && make all'
+ files: '**'
+ - '{project-name}-{stream}-merge-helm':
+ build_script: 'cd kubernetes/ && make all'
+ files: '**'
+ - '{project-name}-{subproject}-{stream}-verify-helm':
+ build_script: 'cd kubernetes/ && make {subproject}'
+ - '{project-name}-{subproject}-{stream}-merge-helm':
+ build_script: 'cd kubernetes/ && make {subproject}'
+ - '{project-name}-{stream}-update-helm-weekly':
+ files: '**'
+ build_script: 'cd kubernetes/ && make all'
diff --git a/shell/helm-repo-init.sh b/shell/helm-repo-init.sh
new file mode 100644
index 000000000..fb2f81029
--- /dev/null
+++ b/shell/helm-repo-init.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Ensure we fail the job if any steps fail
+set -e -o pipefail
+
+# client only init, tiller will not be installed
+helm init --client-only
+cd kubernetes/ || exit
+make repo
+cd ..