summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-helm.yaml
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2019-04-17 15:42:17 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2019-04-17 15:42:17 -0700
commit73d08bd00b5ea45cfb60f25eea2241398b0d77e4 (patch)
tree30ec937278eb4d602e2639a3513582197e10bc4a /jjb/global-templates-helm.yaml
parent23bb8e30b7e216fce87a40b7ca3126b551bad837 (diff)
Add helm external merge job
Add helm external merge job and aai/oom entry for it. This external merge job will: - Get triggered by changes in the tech team's owned code - Clone oom repo - Run oom's build scripts Change-Id: I496d51dc97415adebb047ac000623cc16342e5cc Issue-ID: CIMAN-250 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'jjb/global-templates-helm.yaml')
-rw-r--r--jjb/global-templates-helm.yaml47
1 files changed, 47 insertions, 0 deletions
diff --git a/jjb/global-templates-helm.yaml b/jjb/global-templates-helm.yaml
index 1cff01a0d..f5c6bcde4 100644
--- a/jjb/global-templates-helm.yaml
+++ b/jjb/global-templates-helm.yaml
@@ -148,6 +148,53 @@
- shell: '{obj:build_script}'
- job-template:
+ name: '{project-name}-{stream}-merge-external-helm'
+ # Job template for Helm merge jobs
+
+ <<: *helm_job_boiler_plate
+
+ parameters:
+ - lf-infra-parameters:
+ branch: '{branch}'
+ project: 'oom'
+ stream: '{stream}'
+ lftools-version: '{lftools-version}'
+
+ scm:
+ - lf-infra-gerrit-scm:
+ jenkins-ssh-credential: '{jenkins-ssh-credential}'
+ git-url: '{git-url}'
+ refspec: '$GERRIT_BRANCH'
+ branch: '$GERRIT_BRANCH'
+ submodule-recursive: '{submodule-recursive}'
+ submodule-timeout: '{submodule-timeout}'
+ choosing-strategy: default
+
+ triggers:
+ - gerrit-trigger-helm-patch-merged:
+ server: '{server-name}'
+ project: '{project}'
+ branch: '{branch}'
+ files: '{files}'
+
+ builders:
+ - lf-infra-pre-build
+ - inject:
+ properties-content: 'HELM_MODULE={helm-module}'
+ - lf-provide-maven-settings:
+ global-settings-file: 'global-settings'
+ settings-file: '{mvn-settings}'
+ - shell: '{obj:pre_build_script}'
+ - shell: '{obj:build_script}'
+ - lf-infra-create-netrc:
+ server-id: oom-helm
+ - inject:
+ properties-content: |
+ BUILD_TYPE=snapshot
+ - shell: '{obj:post_build_script}'
+ - lf-provide-maven-settings-cleanup
+
+- job-template:
name: '{project-name}-{stream}-stage-helm'
# Job template for Helm stage jobs