New parameter BUILD_HELM_CHARTS

Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: I7ffa52b69bbfd9374829a67b6d13ed4b3a790b48
This commit is contained in:
Davlet Panech 2022-10-07 12:31:19 -04:00
parent 5fdfe8c26e
commit 36303c05eb

View File

@ -173,6 +173,9 @@ pipeline {
booleanParam (
name: 'FORCE_BUILD'
)
booleanParam (
name: 'BUILD_HELM_CHARTS'
)
booleanParam (
name: 'FORCE_BUILD_WHEELS'
)
@ -276,6 +279,7 @@ or with paths relative to repo root:
// building docker images, if requested in order to replace
// image tags by locally-built images
stage('HELM:initial') {
when { expression { params.BUILD_HELM_CHARTS } }
steps {
runPart ("build-helm-charts", IMG_PARAMS)
runPart ("publish-helm-charts", IMG_PARAMS)
@ -315,7 +319,7 @@ or with paths relative to repo root:
stage('IMAGES:helm') {
// Rebuild helm charts even if image builds failed.
// This will record any images that were built sucessfully in the helm charts
when { expression { params.BUILD_DOCKER_IMAGES } }
when { expression { params.BUILD_DOCKER_IMAGES && params.BUILD_HELM_CHARTS } }
steps { script {
runPart ("build-helm-charts", IMG_PARAMS)
runPart ("publish-helm-charts", IMG_PARAMS)