From: aravind.est Date: Mon, 26 Aug 2024 10:55:12 +0000 (+0100) Subject: Fix the usage of absolute paths X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=039fca7a30aff945520ca266ee1e019f6255cc49;p=it%2Fdep.git Fix the usage of absolute paths Absolute path usage changed to relative paths. This causes an issue when the repository checked out to a different folder name other than dep Issue-ID: CCSDK-4033 Change-Id: I932c793bbda052691c126b00e926ca95f50eebce Signed-off-by: aravind.est --- diff --git a/bin/deploy-nonrtric b/bin/deploy-nonrtric index cb40cd3a..6228d881 100755 --- a/bin/deploy-nonrtric +++ b/bin/deploy-nonrtric @@ -225,7 +225,7 @@ if [ "$INSTALL_KONG" = true ];then echo "Installing Kong" helm repo add kong https://charts.konghq.com --force-update helm repo update - helm install oran-nonrtric kong/kong -n ${NONRTRIC_NAMESPACE:-nonrtric} -f dep/nonrtric/helm/kongstorage/kongvalues.yaml + helm install oran-nonrtric kong/kong -n ${NONRTRIC_NAMESPACE:-nonrtric} -f "$ROOT_DIR/../nonrtric/helm/kongstorage/kongvalues.yaml" fi kubectl create configmap -n ${NONRTRIC_NAMESPACE:-nonrtric} nonrtric-recipe --from-file=recipe=$OVERRIDEYAML @@ -245,7 +245,7 @@ echo "helm install -f $OVERRIDEYAML --namespace ${NONRTRIC_NAMESPACE:-nonrtric} helm install -f $OVERRIDEYAML -n "${NONRTRIC_NAMESPACE:-nonrtric}" ${HELM_NAME_OPT} "${RELEASE_PREFIX}" "$ROOT_DIR/../nonrtric/helm/nonrtric" if [ "$INSTALL_SERVICEMANAGER" == "true" ]; then - pushd dep/servicemanager-preload + pushd "$ROOT_DIR/../servicemanager-preload" # Send stderr to null to turn off chatty logging ./servicemanager-preload.sh config-nonrtric.yaml 2>/dev/null popd