Enable servicemanager installation 51/12751/2
authoraravind.est <aravindhan.a@est.tech>
Wed, 17 Apr 2024 16:26:45 +0000 (17:26 +0100)
committeraravind.est <aravindhan.a@est.tech>
Thu, 18 Apr 2024 15:55:37 +0000 (16:55 +0100)
Service Manager and Kong enabled for installation.

Issue-ID: NONRTRIC-981
Change-Id: If10799f0b14a5e642eb5a91b85e62d4dcc76cd07
Signed-off-by: aravind.est <aravindhan.a@est.tech>
scripts/install/install-nonrtric.sh

index da520f8..3fc436b 100755 (executable)
@@ -22,8 +22,8 @@ echo "######### Installing NONRTRIC components #########"
 
 git clone "https://gerrit.o-ran-sc.org/r/it/dep"
 
-ENABLED_SERVICES=(installPms installA1controller installA1simulator installInformationservice installrAppmanager installDmeParticipant)
-DISABLED_SERVICES=(installControlpanel installRappcatalogueservice installRappcatalogueenhancedservice installNonrtricgateway installKong installDmaapadapterservice installDmaapmediatorservice installHelmmanager installOrufhrecovery installRansliceassurance installRanpm)
+ENABLED_SERVICES=(installPms installA1controller installA1simulator installInformationservice installrAppmanager installDmeParticipant installCapifcore installServicemanager installKong)
+DISABLED_SERVICES=(installControlpanel installRappcatalogueservice installRappcatalogueenhancedservice installNonrtricgateway installDmaapadapterservice installDmaapmediatorservice installHelmmanager installOrufhrecovery installRansliceassurance installRanpm)
 
 RECEIPE_FILE="dep/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml"
 
@@ -55,7 +55,7 @@ fi
 sudo dep/bin/deploy-nonrtric -f $RECEIPE_FILE
 
 while [[ $TIME -lt 2000 ]]; do
-  NONRTRIC_PODS=$(kubectl get pods -n nonrtric --field-selector=status.phase!=Running --no-headers)
+  NONRTRIC_PODS=$(kubectl get pods -n nonrtric --field-selector=status.phase!=Running,status.phase!=Succeeded --no-headers)
   if [[ -z "$NONRTRIC_PODS" ]]; then
     echo "All NONRTRIC Components are running."
     kubectl get pods -n nonrtric