diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-06-21 08:12:34 +0200 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-06-21 08:16:29 +0200 |
commit | f5eb026355887252f2c8d38f2ccb992b3aa22e58 (patch) | |
tree | 4ab98b76f7a225d4a14ceff3473c41bd279bafa4 /shell | |
parent | e4a77184b9a3682745a3a3394b16cab3eeed104d (diff) |
[OOM] Add logs in release script
Issue-ID: OOM-1
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Idbcc165b4e7e051c94548dced56b0d10d2c94ff6
Diffstat (limited to 'shell')
-rwxr-xr-x | shell/publish_helm_charts.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/shell/publish_helm_charts.sh b/shell/publish_helm_charts.sh index a6a09ebf1..be0fa9642 100755 --- a/shell/publish_helm_charts.sh +++ b/shell/publish_helm_charts.sh @@ -1,6 +1,7 @@ #!/bin/bash set -e -o pipefail +echo "*** starting releace process for $BUILD_TYPE" cd kubernetes/dist/packages/ || exit helm_charts=() while IFS= read -a line; do @@ -9,14 +10,18 @@ done < <( ls ) for chart in "${helm_charts[@]}"; do chart=$(echo "$chart" | xargs) + echo " ** processing chart $chart" case "$BUILD_TYPE" in 'snapshot') - curl -n --upload-file "$chart" "https://nexus3.onap.org/repository/onap-helm-testing/" + echo " * snapshot build, pushing to https://nexus3.onap.org/repository/onap-helm-testing/" + curl -vn --upload-file "$chart" "https://nexus3.onap.org/repository/onap-helm-testing/" ;; 'staging') - curl -n --upload-file "$chart" "https://nexus3.onap.org/repository/onap-helm-testing/" + echo " * staging build, pushing to https://nexus3.onap.org/repository/onap-helm-testing/" + curl -vn --upload-file "$chart" "https://nexus3.onap.org/repository/onap-helm-testing/" ;; 'release') + echo " * release build, pushing to https://nexus3.onap.org/repository/onap-helm-release/" curl -n --upload-file "$chart" "https://nexus3.onap.org/repository/onap-helm-release/" ;; *) @@ -25,4 +30,5 @@ for chart in "${helm_charts[@]}"; do ;; esac done +echo "*** release process finished" cd ../../../ |