summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2021-05-28 18:45:46 +0000
committerGerrit Code Review <gerrit@onap.org>2021-05-28 18:45:46 +0000
commitd8f5fb1ecdc9e513c327dd197aaed5ad5abd9321 (patch)
tree1b6b7e133bf6d1f37848bb8601e64b05c688783c
parentb2f01895e8523abb8f23d067405f7b539bc618b3 (diff)
parent2915ed89da312d696673bd705bf0481222c33b13 (diff)
Merge "[OOM] Use new helm repositories"
-rwxr-xr-xshell/helm-repo-init.sh1
-rwxr-xr-xshell/publish_helm_charts.sh9
2 files changed, 4 insertions, 6 deletions
diff --git a/shell/helm-repo-init.sh b/shell/helm-repo-init.sh
index d8990434a..937f0e7d0 100755
--- a/shell/helm-repo-init.sh
+++ b/shell/helm-repo-init.sh
@@ -8,3 +8,4 @@ chartmuseum --port=6464 --storage="local" --storage-local-rootdir=".chartstorage
source helm.prop
$HELM_BIN plugin install https://github.com/chartmuseum/helm-push.git
$HELM_BIN repo add local http://localhost:6464
+$HELM_BIN repo add onap http://localhost:6464
diff --git a/shell/publish_helm_charts.sh b/shell/publish_helm_charts.sh
index 9c511c5b6..a6a09ebf1 100755
--- a/shell/publish_helm_charts.sh
+++ b/shell/publish_helm_charts.sh
@@ -11,16 +11,13 @@ for chart in "${helm_charts[@]}"; do
chart=$(echo "$chart" | xargs)
case "$BUILD_TYPE" in
'snapshot')
- echo "-n --upload-file $chart https://nexus.onap.org/content/sites/oom-helm-$BUILD_TYPE/$GERRIT_BRANCH/$chart"
- curl -n --upload-file "$chart" "https://nexus.onap.org/content/sites/oom-helm-$BUILD_TYPE/$GERRIT_BRANCH/$chart"
- curl -n --upload-file "$chart" "https://nexus.onap.org/content/sites/oom-helm-$BUILD_TYPE//$GERRIT_BRANCH/$GIT_COMMIT/$chart"
+ curl -n --upload-file "$chart" "https://nexus3.onap.org/repository/onap-helm-testing/"
;;
'staging')
- curl -n --upload-file "$chart" "https://nexus.onap.org/content/sites/oom-helm-$BUILD_TYPE/$GERRIT_BRANCH/$chart"
- curl -n --upload-file "$chart" "https://nexus.onap.org/content/sites/oom-helm-$BUILD_TYPE/$GERRIT_BRANCH/$GIT_COMMIT/$chart"
+ curl -n --upload-file "$chart" "https://nexus3.onap.org/repository/onap-helm-testing/"
;;
'release')
- curl -n --upload-file "$chart" "https://nexus.onap.org/content/sites/oom-helm-$BUILD_TYPE/$chart"
+ curl -n --upload-file "$chart" "https://nexus3.onap.org/repository/onap-helm-release/"
;;
*)
echo "You must set BUILD_TYPE to one of (snapshot, staging, release)."