aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-07-27 17:25:10 -0500
committerVictor Morales <victor.morales@intel.com>2017-07-27 17:25:15 -0500
commit8936d9423031c78c35be17816de65e7578edaeeb (patch)
tree6fc3220108d7e296e87e03c28d0f477432dc5197 /bootstrap
parentb249c8a7388fdefbbed9caebe0d15e199c618b7b (diff)
Remove duplicated get_repos.sh script
The get_repos.sh script is duplicated in two places of vagrant-onap project, this change removes that duplication. Change-Id: Iee278b7051a35c41e6d15af730cbcf8d95b7949e Signed-off-by: Victor Morales <victor.morales@intel.com>
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/vagrant-onap/get_repos.sh41
1 files changed, 0 insertions, 41 deletions
diff --git a/bootstrap/vagrant-onap/get_repos.sh b/bootstrap/vagrant-onap/get_repos.sh
deleted file mode 100755
index 1a98f5096..000000000
--- a/bootstrap/vagrant-onap/get_repos.sh
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-repos=(
-"aai/aai-data" "aai/aai-config" "aai/aai-service" "aai/data-router" "aai/logging-service" "aai/model-loader" "aai/resources" "aai/rest-client" "aai/router-core" "aai/search-data-service" "aai/sparky-be" "aai/sparky-fe" "aai/test-config" "aai/traversal"
-"appc" "appc/deployment"
-"ci-management"
-"dcae" "dcae/apod" "dcae/apod/analytics" "dcae/apod/buildtools" "dcae/apod/cdap" "dcae/collectors" "dcae/collectors/ves" "dcae/controller" "dcae/controller/analytics" "dcae/dcae-inventory" "dcae/demo" "dcae/demo/startup" "dcae/demo/startup/aaf" "dcae/demo/startup/controller" "dcae/demo/startup/message-router" "dcae/dmaapbc" "dcae/operation" "dcae/operation/utils" "dcae/orch-dispatcher" "dcae/pgaas" "dcae/utils" "dcae/utils/buildtools"
-"demo"
-"ecompsdkos"
-"mso" "mso/chef-repo" "mso/docker-config" "mso/libs" "mso/mso-config"
-"ncomp" "ncomp/cdap" "ncomp/core" "ncomp/docker" "ncomp/maven" "ncomp/openstack" "ncomp/sirius" "ncomp/sirius/manager" "ncomp/utils"
-"policy/common" "policy/docker" "policy/drools-applications" "policy/drools-pdp" "policy/engine"
-"portal"
-"sdc" "sdc/sdc-distribution-client" "sdc/sdc-titan-cassandra" "sdc/sdc_common"
-"sdnc/adaptors" "sdnc/core" "sdnc/northbound" "sdnc/oam" "sdnc/plugins"
-"testsuite" "testsuite/heatbridge" "testsuite/properties" "testsuite/python-testing-utils"
-"ui" "ui/dmaapbc"
-"vid" "vid/asdcclient")
-
-function git_clone_or_pull {
- local repo=$1
- local folder="opt/$1"
- local mvn_build=$2
- if [ ! -d $folder ]; then
- git clone https://git.onap.org/$repo $folder
- fi
- pushd $folder > /dev/null
- git pull -q
- if [ -f .gitreview ]; then
- git review -s
- fi
- #if [ -f pom.xml ] && [ -n ${mvn_build+x} ]; then
- #mvn clean -q install -U -DskipTests=true -Dmaven.test.skip=true -Dadditionalparam=-Xdoclint:none
- #fi
- popd > /dev/null
-}
-
-for repo in ${repos[@]}; do
- echo "Working on $repo repository..."
- git_clone_or_pull $repo
-done