From: Sylvain Desbureaux Date: Mon, 21 Jun 2021 06:12:34 +0000 (+0200) Subject: [OOM] Add logs in release script X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=f5eb026355887252f2c8d38f2ccb992b3aa22e58;p=ci-management.git [OOM] Add logs in release script Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux Change-Id: Idbcc165b4e7e051c94548dced56b0d10d2c94ff6 --- 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 ../../../