4 echo "*** starting chart publish process for $BUILD_TYPE"
5 cd kubernetes/dist/packages/ || exit
7 while IFS= read -a line; do
8 helm_charts+=( "$line" )
11 for chart in "${helm_charts[@]}"; do
12 chart=$(echo "$chart" | xargs)
13 echo " ** processing chart $chart"
16 echo " * snapshot build, pushing to https://nexus3.onap.org/repository/onap-helm-testing/"
17 curl -vn --upload-file "$chart" "https://nexus3.onap.org/repository/onap-helm-testing/"
20 echo " * release build, pushing to https://nexus3.onap.org/repository/onap-helm-release/"
21 curl -vn --upload-file "$chart" "https://nexus3.onap.org/repository/onap-helm-release/"
24 echo "You must set BUILD_TYPE to one of (snapshot, release)."
29 echo "*** chart publish process finished"