X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=bin%2Fdeploy-ric-aux;h=d0ddeeee894adb5c32eec238409be6509c9f963a;hb=cc6547d2eb07342ab9a4f571f1d25fd1221408d1;hp=3816f7e3905600dbd28c6264915b760d2f80b1b7;hpb=6e1a341bd8185cf69b16541f36f2a366d5cf111d;p=it%2Fdep.git diff --git a/bin/deploy-ric-aux b/bin/deploy-ric-aux index 3816f7e3..d0ddeeee 100755 --- a/bin/deploy-ric-aux +++ b/bin/deploy-ric-aux @@ -51,28 +51,6 @@ fi ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" -# 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 - -# Package ric-common and serve it using Helm local repo -HELM_HOME=$(helm home) -COMMON_CHART_VERSION=$(cat $ROOT_DIR/../ric-common/Common-Template/helm/ric-common/Chart.yaml | grep version | awk '{print $2}') -helm package -d /tmp $ROOT_DIR/../ric-common/Common-Template/helm/ric-common -cp /tmp/ric-common-$COMMON_CHART_VERSION.tgz $HELM_HOME/repository/local/ - -AUX_COMMON_CHART_VERSION=$(cat $ROOT_DIR/../ric-common/Common-Template/helm/aux-common/Chart.yaml | grep version | awk '{print $2}') -helm package -d /tmp $ROOT_DIR/../ric-common/Common-Template/helm/aux-common -cp /tmp/aux-common-$AUX_COMMON_CHART_VERSION.tgz $HELM_HOME/repository/local/ - -helm repo index $HELM_HOME/repository/local/ - - -# Make sure that helm local repo is added -helm repo remove local -helm repo add local http://127.0.0.1:8879/charts - +$ROOT_DIR/prepare-common-templates $ROOT_DIR/../ric-aux/bin/install -f $OVERRIDEYAML