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: I91ff7ced499d3070de9cfd81c00265c99e2d1c74
This commit is contained in:
parent
a43365b22d
commit
a290d658fd
3
.gitignore
vendored
3
.gitignore
vendored
@ -60,3 +60,6 @@ releasenotes/build
|
|||||||
|
|
||||||
# Test temp files
|
# Test temp files
|
||||||
tests/plugins
|
tests/plugins
|
||||||
|
|
||||||
|
# Vagrant testing artifacts
|
||||||
|
.vagrant
|
||||||
|
13
Vagrantfile
vendored
Normal file
13
Vagrantfile
vendored
Normal file
@ -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
|
0
run_tests.sh
Normal file → Executable file
0
run_tests.sh
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user