[OOM] Add logs in release script 63/122063/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 21 Jun 2021 06:12:34 +0000 (08:12 +0200)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 21 Jun 2021 06:16:29 +0000 (08:16 +0200)
Issue-ID: OOM-1
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Idbcc165b4e7e051c94548dced56b0d10d2c94ff6

shell/publish_helm_charts.sh

index a6a09eb..be0fa96 100755 (executable)
@@ -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 ../../../