diff options
author | 2021-05-28 16:08:58 +0200 | |
---|---|---|
committer | 2021-05-28 16:34:06 +0200 | |
commit | 2915ed89da312d696673bd705bf0481222c33b13 (patch) | |
tree | 14fc8b8ca05affbad564de7069cafa408d359fc4 /shell/publish_helm_charts.sh | |
parent | 9fc653789431bc303048b12e5c9a9e8e8e6bdf8c (diff) |
[OOM] Use new helm repositories
Instead of using "old" repositories, uses the new ones
Issue-ID: OOM-2759
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I011a7ff225379a0648de8eadb687d4f7fe0a0fa8
Diffstat (limited to 'shell/publish_helm_charts.sh')
-rwxr-xr-x | shell/publish_helm_charts.sh | 9 |
1 files changed, 3 insertions, 6 deletions
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)." |