From 23f4dd2d7c2eefa22129b5c3c4680ce62992b181 Mon Sep 17 00:00:00 2001 From: lapentafd Date: Tue, 8 Oct 2024 15:45:12 +0100 Subject: [PATCH] Adding a recursive clone if ranpm is enabled The recursive clone will download ranpm directory and it can be deployed via rappmanager installation script Issue-ID: NONRTRIC-1007 Change-Id: I30ebe35ed711dade3e6a3697308c7f54d03f9ef4 Signed-off-by: lapentafd --- scripts/install/install-nonrtric.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/install/install-nonrtric.sh b/scripts/install/install-nonrtric.sh index 3fc436b..8c84c96 100755 --- a/scripts/install/install-nonrtric.sh +++ b/scripts/install/install-nonrtric.sh @@ -20,11 +20,15 @@ echo "######### Installing NONRTRIC components #########" -git clone "https://gerrit.o-ran-sc.org/r/it/dep" - ENABLED_SERVICES=(installPms installA1controller installA1simulator installInformationservice installrAppmanager installDmeParticipant installCapifcore installServicemanager installKong) DISABLED_SERVICES=(installControlpanel installRappcatalogueservice installRappcatalogueenhancedservice installNonrtricgateway installDmaapadapterservice installDmaapmediatorservice installHelmmanager installOrufhrecovery installRansliceassurance installRanpm) +if [[ "${ENABLED_SERVICES[@]}" =~ "installRanpm" ]]; then + git clone --recursive "https://gerrit.o-ran-sc.org/r/it/dep" +else + git clone "https://gerrit.o-ran-sc.org/r/it/dep" +fi + RECEIPE_FILE="dep/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml" for element in "${ENABLED_SERVICES[@]}"; do -- 2.16.6