summaryrefslogtreecommitdiffstats
path: root/jjb/oom/oom-helm.yaml
diff options
context:
space:
mode:
authorJeremy Phelps <jphelps@linuxfoundation.org>2018-08-15 16:26:12 -0500
committerJessica Wagantall <jwagantall@linuxfoundation.org>2018-08-23 16:05:45 +0000
commit3cffa43d73a08aa10cc5c074e3fe1072fb7d9178 (patch)
treedab84cde0f5c004ff7dd32b5976fb12d07fd5fc1 /jjb/oom/oom-helm.yaml
parent3d649565fde368e72dfbf5adcf78c4e5c25efbd2 (diff)
Add helm-chart publishing script
Issue-ID: CIMAN-164 Change-Id: Iae6f765c2f8a7953a308f2ce81e79e4f633a1a2e Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
Diffstat (limited to 'jjb/oom/oom-helm.yaml')
-rw-r--r--jjb/oom/oom-helm.yaml33
1 files changed, 28 insertions, 5 deletions
diff --git a/jjb/oom/oom-helm.yaml b/jjb/oom/oom-helm.yaml
index 11a9ac337..467c16681 100644
--- a/jjb/oom/oom-helm.yaml
+++ b/jjb/oom/oom-helm.yaml
@@ -4,9 +4,22 @@
project-name: oom
project: oom
mvn-settings: oom-settings
+ mvn-global-settings: global-settings
archive-artifacts: ''
build-node: ubuntu1604-helm-2c-1g
pre_build_script: !include-raw-escape: shell/helm-repo-init.sh
+ oom_build_script: |
+ #!/bin/bash
+ set -e -o pipefail
+ cd kubernetes/
+ make all
+ subproject_build_script: |
+ #!/bin/bash
+ cd kubernetes/
+ make common
+ make {subproject}'
+ oom_post_build_script: !include-raw-escape: shell/publish_helm_charts.sh
+
stream:
- 'master':
branch: 'master'
@@ -69,15 +82,25 @@
jobs:
- '{project-name}-{stream}-verify-helm':
- build_script: 'cd kubernetes/ && make all'
+ build_script: '{oom_build_script}'
files: '**'
- '{project-name}-{stream}-merge-helm':
- build_script: 'cd kubernetes/ && make all'
+ build_script: '{oom_build_script}'
+ post_build_script: !include-raw-escape: shell/publish_helm_charts.sh
+ files: '**'
+ - '{project-name}-{stream}-stage-helm':
+ build_script: '{oom_build_script}'
+ post_build_script: !include-raw-escape: shell/publish_helm_charts.sh
files: '**'
+
+ # Below jobs disabled until future need.
- '{project-name}-{subproject}-{stream}-verify-helm':
- build_script: 'cd kubernetes/ && make common && make {subproject}'
+ disabled: true
+ build_script: '{subproject_build_script}'
- '{project-name}-{subproject}-{stream}-merge-helm':
- build_script: 'cd kubernetes/ && make common && make {subproject}'
+ disabled: true
+ build_script: '{subproject_build_script}'
- '{project-name}-{stream}-update-helm-weekly':
+ disabled: true
+ build_script: '{oom_build_script}'
files: '**'
- build_script: 'cd kubernetes/ && make all'