#!/bin/bash # SPDX-license-identifier: Apache-2.0 ############################################################################## # Copyright (c) 2017-2018 # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################# source /var/onap/functions # install_integration - Function that installs dependecies for Integration projects function install_integration { echo "Install CSIT dependencies.." install_packages python-virtualenv unzip sshuttle netcat libffi-dev libssl-dev install_python_package tox robotframework docker-compose install_python_package --upgrade requests robotframework-requests install_docker echo "Running All CSIT tests..." pushd ${src_folders[integration]}/test/csit ./run-all-tests.sh popd } # init_integration() - Init Integration projects function init_integration { if [[ "$clone_repo" == "True" ]]; then clone_repos "integration" fi if [[ "$skip_install" == "False" ]]; then install_integration fi }