From a04ca292a06d29004f7ff3013ebce65d58c0a130 Mon Sep 17 00:00:00 2001 From: Travis Truman Date: Thu, 11 Aug 2016 16:38:04 -0500 Subject: [PATCH] Adding Vagrantfile for local testing Running `vagrant up` will emulate the gate tests Change-Id: I3075e778939a70d3657de2f1ba512ca5dbf79a28 --- .gitignore | 3 +++ Vagrantfile | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 Vagrantfile diff --git a/.gitignore b/.gitignore index 036f6839..ca2ac14c 100644 --- a/.gitignore +++ b/.gitignore @@ -61,3 +61,6 @@ releasenotes/build # Test temp files tests/plugins + +# Vagrant testing artifacts +.vagrant diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 00000000..d09fc560 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,13 @@ +Vagrant.configure(2) do |config| + config.vm.box = "ubuntu/trusty64" + config.vm.provider "virtualbox" do |v| + v.memory = 2048 + v.cpus = 2 + end + config.vm.provision "shell", inline: <<-SHELL + sudo su - + cd /vagrant + apt-get update + ./run_tests.sh + SHELL +end \ No newline at end of file