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/vid | |
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/vid')
-rwxr-xr-x | bootstrap/vagrant-onap/lib/vid | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/bootstrap/vagrant-onap/lib/vid b/bootstrap/vagrant-onap/lib/vid deleted file mode 100755 index 0c7ad8536..000000000 --- a/bootstrap/vagrant-onap/lib/vid +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash - -source /var/onap/functions - -# _build_vid_images() - Function that builds VID docker images -function _build_vid_images { - if [[ "$compile_repo" != "True" ]]; then - compile_src ${src_folders[vid]} - fi - build_docker_image ${src_folders[vid]}/deliveries -} - -# get_vid_images() - Function that retrieves VID docker images -function get_vid_images { - if [[ "$build_image" == "True" ]]; then - _build_vid_images - else - pull_openecomp_image vid - fi - pull_docker_image mariadb:10 -} - -# install_vid() - Download and configure Vid source code -function install_vid { - vid_image=`docker images | grep vid | grep latest| awk '{print $1 ":" $2}'` - - docker rm -f vid-mariadb - docker rm -f vid-server - - run_docker_image --name vid-mariadb -e MYSQL_DATABASE=vid_openecomp -e MYSQL_USER=vidadmin -e MYSQL_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U -e MYSQL_ROOT_PASSWORD=LF+tp_1WqgSY -v /opt/vid/lf_config/vid-my.cnf:/etc/mysql/my.cnf -v /opt/vid/lf_config/vid-pre-init.sql:/docker-entrypoint-initdb.d/vid-pre-init.sql -v /var/lib/mysql -d mariadb:10 - run_docker_image -e VID_MYSQL_DBNAME=vid_openecomp -e VID_MYSQL_PASS=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U --name vid-server -p 8080:8080 --link vid-mariadb:vid-mariadb-docker-instance -d $vid_image -} - -# init_vid() - Function that initialize Vid services -function init_vid { - if [[ "$clone_repo" == "True" ]]; then - clone_repos "vid" - if [[ "$compile_repo" == "True" ]]; then - compile_repos "vid" - fi - fi - - if [[ "$skip_get_images" == "False" ]]; then - get_vid_images - if [[ "$skip_install" == "False" ]]; then - install_vid - fi - fi -} |