summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-helm.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/global-templates-helm.yaml')
-rw-r--r--jjb/global-templates-helm.yaml167
1 files changed, 4 insertions, 163 deletions
diff --git a/jjb/global-templates-helm.yaml b/jjb/global-templates-helm.yaml
index 475efa0cb..3ce9285ec 100644
--- a/jjb/global-templates-helm.yaml
+++ b/jjb/global-templates-helm.yaml
@@ -107,6 +107,7 @@
server: '{server-name}'
project: '{project}'
branch: '{branch}'
+ helm_bin: '{helm_bin}'
files: '{files}'
builders:
@@ -115,99 +116,7 @@
global-settings-file: '{mvn-global-settings}'
settings-file: '{mvn-settings}'
- shell: |
- echo "export HELM_BIN=helm3.6" > helm.prop
- - shell: '{obj:pre_build_script}'
- - shell: '{obj:build_script}'
- - oom-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}-verify-external-helm'
- # Job template for helm verify 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}'
- submodule-disable: '{submodule-disable}'
- choosing-strategy: default
-
- triggers:
- - gerrit-trigger-helm-patch-submitted:
- status-context: '{project}-Helm-Verify'
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
- files: '{files}'
-
- builders:
- - lf-infra-pre-build
- - inject:
- properties-content: 'HELM_MODULE={helm-module}'
- - shell: !include-raw-escape: shell/apply-submodule-patch-oom.sh
- - shell: |
- echo "export HELM_BIN=helm3.6" > helm.prop
- - shell: '{obj:pre_build_script}'
- - 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}'
- submodule-disable: '{submodule-disable}'
- 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: |
- echo "export HELM_BIN=helm3.6" > helm.prop
+ echo "export HELM_BIN={helm_bin}" > helm.prop
- shell: '{obj:pre_build_script}'
- shell: '{obj:build_script}'
- oom-create-netrc:
@@ -232,6 +141,7 @@
triggers:
- gerrit:
+ helm_bin: '{helm_bin}'
server-name: '{gerrit-server-name}'
trigger-on:
- comment-added-contains-event:
@@ -252,7 +162,7 @@
global-settings-file: '{mvn-global-settings}'
settings-file: '{mvn-settings}'
- shell: |
- echo "export HELM_BIN=helm3.6" > helm.prop
+ echo "export HELM_BIN={helm_bin}" > helm.prop
- shell: '{obj:pre_build_script}'
- shell: '{obj:build_script}'
- oom-create-netrc:
@@ -262,72 +172,3 @@
BUILD_TYPE=release
- shell: '{obj:post_build_script}'
- lf-provide-maven-settings-cleanup
-
-- job-template:
- name: '{project-name}-{subproject}-{stream}-verify-helm'
- # Job template for helm verify jobs
-
- <<: *helm_job_boiler_plate
-
- disabled: true
- builders:
- - lf-infra-pre-build
- - shell: |
- echo "export HELM_BIN=helm3.6" > helm.prop
- - shell: '{pre_build_script}'
- - shell: '{build_script}'
- - shell: '{post_build_script}'
-
-- job-template:
- name: '{project-name}-{subproject}-{stream}-merge-helm'
- # Job template for helm merge jobs
-
- <<: *helm_job_boiler_plate
-
- disabled: true
- builders:
- - lf-infra-pre-build
- - shell: |
- echo "export HELM_BIN=helm3.6" > helm.prop
- - shell: '{pre_build_script}'
- - shell: '{build_script}'
- - inject:
- properties-content: |
- BUILD_TYPE=snapshot
- - shell: '{post_build_script}'
-
-- job-template:
- name: '{project-name}-{stream}-update-helm-weekly'
- # Job template for weekly helm update jobs
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
- <<: *helm_job_boiler_plate
-
- disabled: true
- scm:
- - lf-infra-gerrit-scm:
- jenkins-ssh-credential: '{jenkins-ssh-credential}'
- git-url: '$GIT_URL/$PROJECT'
- refspec: '$GERRIT_REFSPEC'
- branch: '$GERRIT_BRANCH'
- submodule-recursive: true
- submodule-timeout: '{submodule-timeout}'
- submodule-disable: '{submodule-disable}'
- choosing-strategy: default
-
- builders:
- - lf-infra-pre-build
- - shell: |
- echo "export HELM_BIN=helm3.6" > helm.prop
- - shell: '{pre_build_script}'
- - shell: '{build_script}'
- - shell: '{post_build_script}'
-
- triggers:
- # 11 AM UTC
- - timed: '@daily'
- - gerrit-trigger-release-manually:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'