summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ..