diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-06-17 22:21:44 +0200 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-06-17 20:24:36 +0000 |
commit | 36dcc7766857a781bef327ece1af314e902852ea (patch) | |
tree | 194caec054605f43776dba7ec8531c324b06e8d1 /jjb | |
parent | 7e9ea75f51007148d6925c68f9142bb92702b9fd (diff) |
[OOM] Update release process
* snapshot release at every merges
* allow to trigger release when release-helm is set in a comment
Issue-ID: OOM-1
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I64b61643b6f4a92d25d60b96e4f097506eea1878
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/global-templates-helm.yaml | 5 | ||||
-rw-r--r-- | jjb/oom/oom-helm.yaml | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/jjb/global-templates-helm.yaml b/jjb/global-templates-helm.yaml index 4f7db3386..25e3921ae 100644 --- a/jjb/global-templates-helm.yaml +++ b/jjb/global-templates-helm.yaml @@ -223,7 +223,7 @@ - gerrit: trigger-on: - comment-added-contains-event: - comment-contains-value: '^release-helm$' + comment-contains-value: '^Patch Set\s+\d+:\s+release-helm\s*$' builders: - lf-infra-pre-build @@ -270,6 +270,9 @@ echo "export HELM_BIN=helm3.5" > helm.prop - shell: '{pre_build_script}' - shell: '{build_script}' + - inject: + properties-content: | + BUILD_TYPE=snapshot - shell: '{post_build_script}' - job-template: diff --git a/jjb/oom/oom-helm.yaml b/jjb/oom/oom-helm.yaml index dc2a2062e..7458a294a 100644 --- a/jjb/oom/oom-helm.yaml +++ b/jjb/oom/oom-helm.yaml @@ -42,6 +42,7 @@ build-timeout: 480 - "{project-name}-{stream}-merge-helm": build_script: "{oom_build_script}" + post_build_script: !include-raw-escape: shell/publish_helm_charts.sh files: "**" build-timeout: 480 - "{project-name}-{stream}-release-helm": |