Markos Chandras 7b7c5b0d49 run_tests.sh: Use common test script to run the tox tests
Update the run_tests.sh script to use the common script file
from the openstack-ansible-tests repository in order to keep
the testing logic into a central place and avoid duplication.
This also updates the bindep.txt to match the one from the
openstack-ansible-tests repository. Finally, CentOS7 support
has been added to the Vagrantfile file.

Change-Id: I2339bcf43384d50109ae8e958f70de9e63adbb76
2017-03-31 11:06:09 +01:00

35 lines
743 B
Ruby

Vagrant.configure(2) do |config|
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
config.vm.define "ubuntu1604" do |xenial|
xenial.vm.box = "ubuntu/xenial64"
xenial.vm.provision "shell", inline: <<-SHELL
sudo su -
cd /vagrant
./run_tests.sh
SHELL
end
config.vm.define "opensuse421" do |leap421|
leap421.vm.box = "opensuse/openSUSE-42.1-x86_64"
leap421.vm.provision "shell", inline: <<-SHELL
sudo su -
cd /vagrant
./run_tests.sh
SHELL
end
config.vm.define "centos7" do |centos7|
centos7.vm.box = "centos/7"
centos7.vm.provision "shell", inline: <<-SHELL
sudo su -
cd /vagrant
./run_tests.sh
SHELL
end
end