Updated from OpenStack Ansible Tests
Change-Id: I784d69e28fb046fdb407a1af2c6d62e5af1bd1e8
This commit is contained in:
parent
0839ec0935
commit
9b79a32225
37
Vagrantfile
vendored
37
Vagrantfile
vendored
@ -31,6 +31,30 @@ Vagrant.configure(2) do |config|
|
|||||||
./run_tests.sh
|
./run_tests.sh
|
||||||
SHELL
|
SHELL
|
||||||
|
|
||||||
|
config.vm.define "centos7" do |centos7|
|
||||||
|
centos7.vm.box = "centos/7"
|
||||||
|
end
|
||||||
|
|
||||||
|
config.vm.define "debian8" do |debian8|
|
||||||
|
debian8.vm.box = "debian/jessie64"
|
||||||
|
end
|
||||||
|
|
||||||
|
config.vm.define "debian9" do |debian9|
|
||||||
|
debian9.vm.box = "debian/stretch64"
|
||||||
|
end
|
||||||
|
|
||||||
|
config.vm.define "gentoo" do |gentoo|
|
||||||
|
gentoo.vm.box = "generic/gentoo"
|
||||||
|
end
|
||||||
|
|
||||||
|
config.vm.define "opensuse150" do |leap150|
|
||||||
|
leap150.vm.box = "opensuse/openSUSE-15.0-x86_64"
|
||||||
|
end
|
||||||
|
|
||||||
|
config.vm.define "opensuse151" do |leap150|
|
||||||
|
leap150.vm.box = "opensuse/openSUSE-15.1-x86_64"
|
||||||
|
end
|
||||||
|
|
||||||
config.vm.define "ubuntu1604" do |xenial|
|
config.vm.define "ubuntu1604" do |xenial|
|
||||||
xenial.disksize.size = "40GB"
|
xenial.disksize.size = "40GB"
|
||||||
xenial.vm.box = "ubuntu/xenial64"
|
xenial.vm.box = "ubuntu/xenial64"
|
||||||
@ -40,17 +64,4 @@ Vagrant.configure(2) do |config|
|
|||||||
bionic.disksize.size = "40GB"
|
bionic.disksize.size = "40GB"
|
||||||
bionic.vm.box = "ubuntu/bionic64"
|
bionic.vm.box = "ubuntu/bionic64"
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.define "opensuse150" do |leap150|
|
|
||||||
leap150.vm.box = "opensuse/openSUSE-15.0-x86_64"
|
|
||||||
end
|
|
||||||
|
|
||||||
config.vm.define "opensuse151" do |leap151|
|
|
||||||
leap151.vm.box = "opensuse/openSUSE-15.1-x86_64"
|
|
||||||
end
|
|
||||||
|
|
||||||
config.vm.define "centos7" do |centos7|
|
|
||||||
centos7.vm.box = "centos/7"
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -65,7 +65,10 @@ case ${ID,,} in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Install git so that we can clone the tests repo if git is not available
|
# Install git so that we can clone the tests repo if git is not available
|
||||||
which git &>/dev/null || eval sudo "${pkg_mgr_cmd}" git
|
case ${ID,,} in
|
||||||
|
gentoo) which git &>/dev/null || eval sudo "${pkg_mgr_cmd}" dev-vcs/git ;;
|
||||||
|
*) which git &>/dev/null || eval sudo "${pkg_mgr_cmd}" git ;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Clone the tests repo for access to the common test script
|
# Clone the tests repo for access to the common test script
|
||||||
if [[ ! -d "${COMMON_TESTS_PATH}" ]]; then
|
if [[ ! -d "${COMMON_TESTS_PATH}" ]]; then
|
||||||
@ -92,4 +95,3 @@ fi
|
|||||||
|
|
||||||
# Execute the common test script
|
# Execute the common test script
|
||||||
source tests/common/run_tests_common.sh
|
source tests/common/run_tests_common.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user