From 23f436b4d99c06d1cf3b4f00a4d6953e9d019449 Mon Sep 17 00:00:00 2001 From: Travis Truman Date: Thu, 21 Apr 2016 13:54:22 -0400 Subject: [PATCH] Adding Vagrantfile for local developer testing Running `vagrant up` will execute run_tests.sh and perform doc build, lint and functional tests Change-Id: I5816e83217239c2ca623e95c486b49546b8338db --- .gitignore | 3 +++ Vagrantfile | 9 +++++++++ run_tests.sh | 0 3 files changed, 12 insertions(+) create mode 100644 Vagrantfile mode change 100644 => 100755 run_tests.sh diff --git a/.gitignore b/.gitignore index c9c11664..617ceb0a 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,6 @@ releasenotes/build # Files created by releasenotes build releasenotes/build + +# Vagrant testing artifacts +.vagrant diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 00000000..cea04e33 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,9 @@ +Vagrant.configure(2) do |config| + config.vm.box = "ubuntu/trusty64" + config.vm.provision "shell", inline: <<-SHELL + sudo su - + cd /vagrant + apt-get update + ./run_tests.sh + SHELL +end \ No newline at end of file diff --git a/run_tests.sh b/run_tests.sh old mode 100644 new mode 100755