From: Pawel Wieczorek
Date: Tue, 7 Jan 2020 14:28:55 +0000 (+0100)
Subject: Ensure Helm directory presence prior its first use
X-Git-Tag: 6.0.0-ONAP~234
X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F39%2F99939%2F2;p=integration.git
Ensure Helm directory presence prior its first use
It is required for plugins that are installed by copying sources to the
Helm directory.
Issue-ID: INT-1405
Change-Id: I4ed2708f4af1d745b7e1ffc687ae9674682c374d
Signed-off-by: Pawel Wieczorek
---
diff --git a/bootstrap/vagrant-minimal-onap/Vagrantfile b/bootstrap/vagrant-minimal-onap/Vagrantfile
index cbdb7ac7e..1e66ad80c 100644
--- a/bootstrap/vagrant-minimal-onap/Vagrantfile
+++ b/bootstrap/vagrant-minimal-onap/Vagrantfile
@@ -118,7 +118,7 @@ $get_oom = <<-SCRIPT
git clone -b "$BRANCH" https://git.onap.org/oom --recurse-submodules
SCRIPT
-$get_helm_plugins = "cp -R ${HOME}/oom/kubernetes/helm/plugins/ ${HOME}/.helm"
+$get_helm_plugins = "mkdir -p ${HOME}/.helm && cp -R ${HOME}/oom/kubernetes/helm/plugins/ ${HOME}/.helm"
$setup_helm_cluster = <<-SCRIPT
export KUBECONFIG="${HOME}/.kube/config.onap"