diff options
author | Victor Morales <victor.morales@intel.com> | 2018-09-13 09:19:13 -0700 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2018-09-13 10:05:21 -0700 |
commit | 7ee9ee4e4361fa31d4e565c1b7539006598c0223 (patch) | |
tree | e28308f8895d031faa619d464a3827aa3d6bd374 /vagrant/installer.sh | |
parent | cb64a5fed1b10daa301235a2ef956b4805da99d3 (diff) |
Refactor Functional tests
The current implementation of Functional tests didn't allow to reuse
some functionality. This change exposes common functions and methods
to populated CSAR folders.
Change-Id: I8f4daf9a0a12633f952677b3e15de42bea5226e6
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
Diffstat (limited to 'vagrant/installer.sh')
-rwxr-xr-x | vagrant/installer.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vagrant/installer.sh b/vagrant/installer.sh index 5df87e4c..f6f2f76a 100755 --- a/vagrant/installer.sh +++ b/vagrant/installer.sh @@ -169,11 +169,9 @@ function install_plugin { _install_docker pip install docker-compose - mkdir -p /opt/{csar,kubeconfig,consul/config} + mkdir -p /opt/{kubeconfig,consul/config} cp $HOME/.kube/config /opt/kubeconfig/krd - export CSAR_DIR=/opt/csar export KUBE_CONFIG_DIR=/opt/kubeconfig - echo "export CSAR_DIR=${CSAR_DIR}" >> /etc/environment echo "export KUBE_CONFIG_DIR=${KUBE_CONFIG_DIR}" >> /etc/environment GOPATH=$(go env GOPATH) @@ -257,6 +255,9 @@ krd_tests=$krd_folder/tests k8s_info_file=$krd_folder/k8s_info.log mkdir -p $log_folder +mkdir -p /opt/csar +export CSAR_DIR=/opt/csar +echo "export CSAR_DIR=${CSAR_DIR}" >> /etc/environment # Install dependencies # Setup proxy variables |