From a988daf35f6fa56ba0628181cd6cc8ad56e83a8a Mon Sep 17 00:00:00 2001 From: Travis Truman Date: Wed, 9 Mar 2016 22:04:36 -0500 Subject: [PATCH] Adding Vagrantfile for local developer testing This Vagrantfile attempts to replicate the gate check testing to the extent possible to allow developers to run all tests locally in a Vagrant environment prior to submitting changes for review. Change-Id: I220252b04350f328e65a45d2fa3259d97b433e16 --- .gitignore | 3 +++ Vagrantfile | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 Vagrantfile diff --git a/.gitignore b/.gitignore index 9ffa62af..06ee8ff4 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,6 @@ releasenotes/build # Test temp files tests/plugins + +# Vagrant testing artifacts +.vagrant \ No newline at end of file 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