From 0da65b9dc6569394f4ef3b0586fa408cd2368496 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Tue, 9 Feb 2021 09:42:42 +0100 Subject: [OOM] Use specific HELM_BIN depending on branch Guilin branch supports only helm < 3.4 whereas helm master supports helm <=3.5.x Therefore, we must be able to choose the right binary for each branch. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux Change-Id: I2c193a477f3a920f402d72ece9e2a814a27f756a --- jjb/global-templates-helm.yaml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'jjb/global-templates-helm.yaml') diff --git a/jjb/global-templates-helm.yaml b/jjb/global-templates-helm.yaml index 2697d1871..7d4541f37 100644 --- a/jjb/global-templates-helm.yaml +++ b/jjb/global-templates-helm.yaml @@ -56,6 +56,7 @@ <<: *helm_job_boiler_plate concurrent: true + helm_bin: helm3 scm: - gerrit-trigger-scm: @@ -69,10 +70,13 @@ server: '{server-name}' project: '{project}' branch: '{branch}' + helm_bin: '{helm_bin}' files: '{files}' builders: - lf-infra-pre-build + - inject: + properties-content: 'HELM_BIN={helm_bin}' - shell: '{obj:pre_build_script}' - shell: '{obj:build_script}' -- cgit 1.2.3-korg