Ensure Helm directory presence prior its first use 39/99939/2
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Tue, 7 Jan 2020 14:28:55 +0000 (15:28 +0100)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Fri, 10 Jan 2020 16:29:25 +0000 (17:29 +0100)
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 <p.wieczorek2@samsung.com>
bootstrap/vagrant-minimal-onap/Vagrantfile

index cbdb7ac..1e66ad8 100644 (file)
@@ -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"