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/robot | |
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/robot')
-rwxr-xr-x | bootstrap/vagrant-onap/lib/robot | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/bootstrap/vagrant-onap/lib/robot b/bootstrap/vagrant-onap/lib/robot deleted file mode 100755 index 70f8cf704..000000000 --- a/bootstrap/vagrant-onap/lib/robot +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash - -source /var/onap/functions - -# _setup_ete_folder() - Create and copy ete folder structure -function _setup_ete_folder { - mkdir -p /opt/eteshare/config - - cp ${src_folders[robot]}/integration_* /opt/eteshare/config - cp ${src_folders[robot]}/vm_config2robot.sh /opt/eteshare/config - cp ${src_folders[robot]}/ete.sh /opt - cp ${src_folders[robot]}/demo.sh /opt - - chmod +x /opt/ete.sh - chmod +x /opt/demo.sh -} - -# get_robot_images() - Pull or build the Robot Docker images -function get_robot_images { - pull_openecomp_image testsuite -} - -# install_robot() - Run Robot services -function install_robot { - docker rm -f openecompete_container - run_docker_image -d --name openecompete_container -v /opt/eteshare:/share -p 88:88 $nexus_docker_repo/openecomp/testsuite:$docker_version -} - -# init_robot() - Function that initialize Robot services -function init_robot { - if [[ "$clone_repo" == "True" ]]; then - clone_repos "robot" "testsuite" - _setup_ete_folder - if [[ "$compile_repo" == "True" ]]; then - compile_repos "robot" - fi - fi - - if [[ "$skip_get_images" == "False" ]]; then - get_robot_images - if [[ "$skip_install" == "False" ]]; then - install_robot - fi - fi -} |