From 92fac4e8c00d20d86e03db725eae9d2d06fee39b Mon Sep 17 00:00:00 2001 From: Travis Truman Date: Wed, 13 Jul 2016 08:45:44 -0400 Subject: [PATCH] Adding a Vagrantfile for local testing Running `vagrant up` will bring up a vagrant box and run all gate tests. Change-Id: Ie0b72b9be552b392ca9db35ab8cefdeb721d86aa --- .gitignore | 3 +++ Vagrantfile | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 Vagrantfile diff --git a/.gitignore b/.gitignore index 036f6839..0fd5a6b2 100644 --- a/.gitignore +++ b/.gitignore @@ -61,3 +61,6 @@ releasenotes/build # Test temp files tests/plugins + +# Files created by vagrant testing +.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