-
Notifications
You must be signed in to change notification settings - Fork 10
/
Vagrantfile
42 lines (34 loc) · 1.14 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Vagrant.configure("2") do |config|
config.vm.synced_folder ".", "/home/vagrant/coldfront-plugin-cloud/"
config.vm.network :private_network
config.vm.define "openstack" do |openstack|
openstack.vm.box = "generic/ubuntu2004"
openstack.vm.provider "vmware_fusion" do |vb|
vb.gui = false
vb.memory = "9000"
vb.cpus = "4"
end
openstack.vm.provision "shell", privileged: false, inline: <<-SHELL
set -xe
cd ~/coldfront-plugin-cloud
./ci/devstack.sh
./ci/setup.sh
./ci/run_functional_tests.sh
SHELL
end
config.vm.define "openshift" do |openshift|
openshift.vm.box = "generic/ubuntu2004"
openshift.vm.provider "vmware_fusion" do |vb|
vb.gui = false
vb.memory = "4096"
vb.cpus = "4"
end
openshift.vm.provision "shell", privileged: false, inline: <<-SHELL
set -xe
cd ~/coldfront-plugin-cloud
./ci/microshift.sh
./ci/setup.sh
./ci/run_functional_tests_openshift.sh
SHELL
end
end