Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Decouple generation of docker image list from docker image prepull script
[it/dep.git]
/
bin
/
undeploy-ric-aux
diff --git
a/bin/undeploy-ric-aux
b/bin/undeploy-ric-aux
index
df56d0e
..
735dfbf
100755
(executable)
--- a/
bin/undeploy-ric-aux
+++ b/
bin/undeploy-ric-aux
@@
-19,15
+19,19
@@
# This script deploys RIC auxiliary function components automatically
# 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