X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=bin%2Fdeploy-ric-aux;h=8a4546fb7e6acac0a4e22c21e915d7b7fab4e044;hb=00e1990cde6660b9875b312834fb58683456ec70;hp=5ccb386bc890b02beac788422b14f9f2d3fb77f9;hpb=7f1e409379856025977fc8a6ea04ddb215f21a13;p=it%2Fdep.git diff --git a/bin/deploy-ric-aux b/bin/deploy-ric-aux index 5ccb386b..8a4546fb 100755 --- a/bin/deploy-ric-aux +++ b/bin/deploy-ric-aux @@ -16,7 +16,7 @@ # limitations under the License. # ################################################################################ -# This script deploys RIC auxiliary function components automatically +# This script deploys RIC aux components automatically OVERRIDEYAML=$1 @@ -24,22 +24,27 @@ if [ -z "$OVERRIDEYAML" ];then echo "****************************************************************************************************************" echo " WARNING " echo "****************************************************************************************************************" -echo "Deploying RIC auxiliary functions without deployment recipe. Default configurations are used." +echo "Deploying RIC auxiliary without deployment recipe. Default configurations are used." echo "****************************************************************************************************************" - fi -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" +ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" -source $DIR/../etc/ric-aux.conf +source $ROOT_DIR/../etc/ric.conf -export RICAUX_RELEASE_NAME=$ric_aux_helm_release_name -export RICAUX_NAMESPACE=$ric_aux_namespace +export RICAUX_RELEASE_NAME=$helm_release_name +export RICPLT_NAMESPACE=$plt_namespace +export RICXAPP_NAMESPACE=$xapp_namespace +export RICAUX_NAMESPACE=$aux_namespace +export RICINFRA_NAMESPACE=$infra_namespace +for component in $ROOT_DIR/../ric-aux/*/; do + # Will print */ if no directories are available + . $component/bin/install $OVERRIDEYAML -. ../ric-aux/80-Auxiliary-Functions/bin/install $OVERRIDEYAML +done