From: lapentafd Date: Tue, 8 Oct 2024 14:45:12 +0000 (+0100) Subject: Adding a recursive clone if ranpm is enabled X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=23f4dd2d7c2eefa22129b5c3c4680ce62992b181;p=nonrtric%2Fplt%2Frappmanager.git 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 --- 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