X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=bin%2Finstall_common_templates_to_helm.sh;h=d7328e4b6d515a07f0a88d7287a4f76b125de830;hb=b5fd2329a5481f54fce022eb0dc5929af12121e6;hp=39f30b88f6285e4258f23d5826fa2178e5cd9dde;hpb=cd6dd98c1cbcdac0d7c1167ee38b02534f8e248f;p=ric-plt%2Fric-dep.git diff --git a/bin/install_common_templates_to_helm.sh b/bin/install_common_templates_to_helm.sh index 39f30b8..d7328e4 100755 --- a/bin/install_common_templates_to_helm.sh +++ b/bin/install_common_templates_to_helm.sh @@ -21,16 +21,28 @@ helm plugin install https://github.com/jdolitsky/helm-servecm eval $(helm env |grep HELM_REPOSITORY_CACHE) echo ${HELM_REPOSITORY_CACHE} +# servecm can download chartmuseum binary, but the hardcoded location does not work anymore +# so, we download it now before starting servecm, so that it's available when servecm +# tries to start the chartmuseum binary +curl -LO https://get.helm.sh/chartmuseum-v0.15.0-linux-386.tar.gz +tar xzvf chartmuseum-v0.15.0-linux-386.tar.gz +chmod +x ./linux-386/chartmuseum +cp ./linux-386/chartmuseum /usr/local/bin + nohup helm servecm --port=8879 --context-path=/charts --storage local --storage-local-rootdir $HELM_REPOSITORY_CACHE/local/ <