diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-12-02 15:59:28 +0100 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-12-02 15:59:28 +0100 |
commit | ed8ead96917333f9f368c4703a2d4ee40933b8c5 (patch) | |
tree | 37b00c1894200ed67abfd5f50c855ae3e98b4cea /shell | |
parent | 5d7016befaaf507712ce88bdbe6fe7eb14d3448c (diff) |
[OOM] Publish helm charts when releasing
When a release is created, we want to make and push the charts to a
place where everybody can retrieve them instead of making them in their
side.
Issue-ID: OOM-1238
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Ibedfe874c76d4ae11f3f759737e550ba0e5e3d33
Diffstat (limited to 'shell')
-rwxr-xr-x | shell/publish_helm_charts.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/publish_helm_charts.sh b/shell/publish_helm_charts.sh index 23c5fbd9d..9c511c5b6 100755 --- a/shell/publish_helm_charts.sh +++ b/shell/publish_helm_charts.sh @@ -20,8 +20,7 @@ for chart in "${helm_charts[@]}"; do curl -n --upload-file "$chart" "https://nexus.onap.org/content/sites/oom-helm-$BUILD_TYPE/$GERRIT_BRANCH/$GIT_COMMIT/$chart" ;; 'release') - echo "Release automation not implemented yet." - exit 1 + curl -n --upload-file "$chart" "https://nexus.onap.org/content/sites/oom-helm-$BUILD_TYPE/$chart" ;; *) echo "You must set BUILD_TYPE to one of (snapshot, staging, release)." |