Issue-ID: OOM-1
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Idbcc165b4e7e051c94548dced56b0d10d2c94ff6
#!/bin/bash
set -e -o pipefail
#!/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
cd kubernetes/dist/packages/ || exit
helm_charts=()
while IFS= read -a line; do
for chart in "${helm_charts[@]}"; do
chart=$(echo "$chart" | xargs)
for chart in "${helm_charts[@]}"; do
chart=$(echo "$chart" | xargs)
+ echo " ** processing chart $chart"
case "$BUILD_TYPE" in
'snapshot')
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/"
- 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/"
+ 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/"
;;
*)
curl -n --upload-file "$chart" "https://nexus3.onap.org/repository/onap-helm-release/"
;;
*)
+echo "*** release process finished"