From 5464664702bc07c180ed82eb1a5d9bcc9e5d18ec Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Fri, 8 Dec 2017 11:57:42 -0800 Subject: Centralize src_folder and repos info The configuration values that determines where the source code will be cloned and the list of repos associated to specific project have been included in a new global configuration file, which pretends to facilitate their changes. Change-Id: I700bfe02e6b2f8bf8eef763e44b5e037357ec892 Signed-off-by: Victor Morales Issue-ID: INT-367 --- bootstrap/vagrant-onap/lib/sdnc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'bootstrap/vagrant-onap/lib/sdnc') diff --git a/bootstrap/vagrant-onap/lib/sdnc b/bootstrap/vagrant-onap/lib/sdnc index 05165b18b..a8cf756b4 100755 --- a/bootstrap/vagrant-onap/lib/sdnc +++ b/bootstrap/vagrant-onap/lib/sdnc @@ -3,13 +3,9 @@ source /var/onap/functions source /var/onap/ccsdk -sdnc_src_folder=$git_src_folder/openecomp/sdnc -sdnc_repos=("sdnc/adaptors" "sdnc/architecture" "sdnc/core" "sdnc/features" \ -"sdnc/northbound" "sdnc/oam" "sdnc/parent" "sdnc/plugins") - # compile_all_sdnc_repos() - Function that compiles SDNC source repo. function compile_all_sdnc_repos { - for repo in ${sdnc_repos[@]}; do + for repo in ${repos[sdnc]}; do if [[ "$repo" == "sdnc/core" ]]; then compile_src $sdnc_src_folder/core/rootpom fi -- cgit 1.2.3-korg