Adding a Vagrantfile for local testing
Running `vagrant up` will bring up a vagrant box and run all gate tests. Change-Id: Ie0b72b9be552b392ca9db35ab8cefdeb721d86aa
This commit is contained in:
parent
2bdff13b29
commit
92fac4e8c0
3
.gitignore
vendored
3
.gitignore
vendored
@ -61,3 +61,6 @@ releasenotes/build
|
||||
|
||||
# Test temp files
|
||||
tests/plugins
|
||||
|
||||
# Files created by vagrant testing
|
||||
.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
|
Loading…
x
Reference in New Issue
Block a user