X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=bin%2Fundeploy-ric-aux;h=735dfbf169d98b7c361347519ff728d793ffb74d;hb=dccf4738e41ebeac70f0ff773cadfa293e02cc1e;hp=df56d0e8ab6a8bfab1eaed6145692887a4d26e8a;hpb=7f1e409379856025977fc8a6ea04ddb215f21a13;p=it%2Fdep.git diff --git a/bin/undeploy-ric-aux b/bin/undeploy-ric-aux index df56d0e8..735dfbf1 100755 --- a/bin/undeploy-ric-aux +++ b/bin/undeploy-ric-aux @@ -19,15 +19,19 @@ # This script deploys RIC auxiliary function components automatically -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_RELEASE_NAME=$helm_release_name -export RICAUX_NAMESPACE=$ric_aux_namespace +export RICAUX_NAMESPACE=$aux_namespace +for component in $ROOT_DIR/../ric-aux/*/; do + # Will print */ if no directories are available + . $component/bin/uninstall + +done -. ../ric-aux/80-Auxiliary-Functions/bin/uninstall