X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=bin%2Fdeploy-ric-platform;h=a16b67c0ae909064953611d92dd712dd9b190a3c;hb=refs%2Fchanges%2F28%2F4128%2F3;hp=0826ba6a0b78e7208eb8e2af68c42b8325aa8577;hpb=9c381477a3319e5dff968b1a4e8566c71499b3b6;p=it%2Fdep.git diff --git a/bin/deploy-ric-platform b/bin/deploy-ric-platform index 0826ba6a..a16b67c0 100755 --- a/bin/deploy-ric-platform +++ b/bin/deploy-ric-platform @@ -52,11 +52,16 @@ fi ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" -for component in $ROOT_DIR/../ric-platform/*/; do - # Will print */ if no directories are available - . $component/bin/install -f $OVERRIDEYAML +# Start Helm local repo if there isn't one +HELM_REPO_PID=$(ps -x | grep "helm serve" | grep -v "grep" | awk '{print $1}') +if [ -z "$HELM_REPO_PID" ]; then + nohup helm serve >& /dev/null & +fi + +$ROOT_DIR/prepare-common-templates + +$ROOT_DIR/../ric-dep/bin/install -f $OVERRIDEYAML -done