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 <sylvain.desbureaux@orange.com>
Change-Id: I2c193a477f3a920f402d72ece9e2a814a27f756a
<<: *helm_job_boiler_plate
concurrent: true
+ helm_bin: helm3
scm:
- gerrit-trigger-scm:
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}'
#!/bin/bash
set -e -o pipefail
cd kubernetes/
- make HELM_BIN=helm3 all
+ make all
subproject_build_script: |
#!/bin/bash
cd kubernetes/
- make HELM_BIN=helm3 common
- make HELM_BIN=helm3 {subproject}
+ make common
+ make {subproject}
stream:
- "master":
files: "**"
- "{project-name}-{stream}-verify-helm2":
files: "**"
- build-timeout: 240
+ build-timeout: 360
- "{project-name}-{stream}-verify-helm":
build_script: "{oom_build_script}"
files: "**"
- build-timeout: 240
+ build-timeout: 360
+ stream: master
+ - "{project-name}-{stream}-verify-helm":
+ build_script: "{oom_build_script}"
+ files: "**"
+ build-timeout: 360
+ stream: guilin
+ helm_bin: "helm3.3"
- "{project-name}-{stream}-merge-helm":
build_script: "{oom_build_script}"
files: "**"