divingbell/Vagrantfile
Roman Gorshunov 9ac079dd35 Minor: Git URI schema and URL change
Change-Id: I0ec3bf08fc3f18b31ad16e7e96a2cd66605d68e4
2019-03-21 00:57:07 +01:00

30 lines
979 B
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "generic/ubuntu1604"
[:virtualbox, :parallels, :libvirt, :hyperv].each do |provider|
config.vm.provider provider do |vplh, override|
vplh.cpus = 4
vplh.memory = 4096
end
end
config.vm.synced_folder "./", "/root/deploy/airship-divingbell"
config.vm.define "dbtest" do |node|
node.vm.hostname = "dbtest"
node.vm.provision :shell, inline: <<-SHELL
#mkdir /root/deploy
#git clone https://git.airshipit.org/airship-divingbell /root/deploy/airship-divingbell
git clone https://git.openstack.org/openstack/openstack-helm-infra /root/deploy/openstack-helm-infra
cd /root/deploy/openstack-helm-infra
./tools/gate/devel/start.sh full
cd /root/deploy/airship-divingbell/
./tools/gate/scripts/010-build-charts.sh
./tools/gate/scripts/020-test-divingbell.sh
SHELL
end
end