diff options
author | 2019-12-05 13:45:45 +0100 | |
---|---|---|
committer | 2019-12-18 07:31:11 +0000 | |
commit | f1176daf78a691d31a13b698d9401a20ce51c5b4 (patch) | |
tree | fbf98529b39262b4fd8ad3fed4f31471b86076b0 /bootstrap/vagrant-minimal-onap/Vagrantfile | |
parent | df0edea0c75b1bd99f26779be7d7b60d5fcb3481 (diff) |
Add helm provisioners (downloading and setting up with OOM plugins)
Issue-ID: ONAPARC-537
Change-Id: I3b3d731ae016c78b3e00841157c69aded14635e2
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'bootstrap/vagrant-minimal-onap/Vagrantfile')
-rw-r--r-- | bootstrap/vagrant-minimal-onap/Vagrantfile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bootstrap/vagrant-minimal-onap/Vagrantfile b/bootstrap/vagrant-minimal-onap/Vagrantfile index 53d78b5a2..0f26ec8f2 100644 --- a/bootstrap/vagrant-minimal-onap/Vagrantfile +++ b/bootstrap/vagrant-minimal-onap/Vagrantfile @@ -106,6 +106,13 @@ SCRIPT $rke_up = "rke up" $rke_down = "rke remove --force" +$get_oom = <<-SCRIPT + BRANCH="${1:-5.0.1-ONAP}" + git clone -b "$BRANCH" https://git.onap.org/oom --recurse-submodules +SCRIPT + +$get_helm_plugins = "cp -R ${HOME}/oom/kubernetes/helm/plugins/ ${HOME}/.helm" + Vagrant.configure('2') do |config| all.each do |machine| config.vm.define machine[:name] do |config| @@ -192,6 +199,9 @@ Vagrant.configure('2') do |config| s.privileged = false s.path = "tools/setup_kubectl.sh" end + config.vm.provision "get_helm", type: :shell, path: "tools/get_helm.sh" + config.vm.provision "get_oom", type: :shell, privileged: false, inline: $get_oom + config.vm.provision "get_helm_plugins", type: :shell, privileged: false, inline: $get_helm_plugins end end end |