diff options
author | Victor Morales <victor.morales@intel.com> | 2018-03-13 12:36:55 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-03-15 16:58:22 +0000 |
commit | df17a7ff9ba569227e8a2b5b1863800bbb8e1806 (patch) | |
tree | 749011aaf1b514e17c31edd9c12252a95f0aec18 /bootstrap/vagrant-onap/lib/sdnc | |
parent | 1393fc2533cae1271126498f1661dec893922dae (diff) |
Deprecate vagrant-onap tool
The vagrant-onap tool needs to be moved to its own repo to have better
control of versions and autonomy. This change removes the project from
integration repository.
Change-Id: I90bd4505a9fc7376c31a780aa1b833ee2663af3e
Signed-off-by: Victor Morales <victor.morales@intel.com>
Depends-On: I79df8c35fccaa266a789217d441a6cf1183bd42a
Issue-ID: INT-441
Diffstat (limited to 'bootstrap/vagrant-onap/lib/sdnc')
-rwxr-xr-x | bootstrap/vagrant-onap/lib/sdnc | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/bootstrap/vagrant-onap/lib/sdnc b/bootstrap/vagrant-onap/lib/sdnc deleted file mode 100755 index 8dacf9e16..000000000 --- a/bootstrap/vagrant-onap/lib/sdnc +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/bash - -source /var/onap/functions -source /var/onap/ccsdk - -# compile_all_sdnc_repos() - Function that compiles SDNC source repo. -function compile_all_sdnc_repos { - for repo in ${repos[sdnc]}; do - if [[ "$repo" == "sdnc/core" ]]; then - compile_src ${src_folders[sdnc]}/core/rootpom - fi - compile_src ${src_folders[sdnc]}${repo#*sdnc} - done -} - -# _build_sdnc_images() - Builds SDNC images from source code -function _build_sdnc_images { - local folder=${src_folders[sdnc]}/oam - - get_ccsdk_images - install_package unzip - # The OAM code depends on all the SDNC repos which should be downloaded and compiled first - if [[ "$compile_repo" != "True" ]]; then - compile_src $folder - fi - for dirc in ubuntu sdnc admportal dgbuilder; do - build_docker_image $folder/installation/$dirc - done -} - -# get_sdnc_images() - Build or retrieve necessary images -function get_sdnc_images { - if [[ "$build_image" == "True" ]]; then - _build_sdnc_images - else - for image in sdnc-image admportal-sdnc-image dgbuilder-sdnc-image; do - pull_openecomp_image $image openecomp/$image:latest - done - fi - pull_docker_image mysql/mysql-server:5.6 -} - -# install_sdnc() - Download and install SDNC services from source code -function install_sdnc { - run_docker_compose ${src_folders[sdnc]}/oam/installation/src/main/yaml -} - -# init_sdnc() - Function that initialize SDNC services -function init_sdnc { - if [[ "$clone_repo" == "True" ]]; then - clone_repos "sdnc" - if [[ "$compile_repo" == "True" ]]; then - compile_all_sdnc_repos - fi - fi - - if [[ "$skip_get_images" == "False" ]]; then - get_sdnc_images - if [[ "$skip_install" == "False" ]]; then - start_ODL - install_sdnc - fi - fi -} |