Adding Vagrantfile for local developer testing
Running `vagrant up` will execute run_tests.sh and perform doc build, lint and functional tests Change-Id: Idf80956bcb64cd483fade7d3dfd112a4ce4d8b7e
This commit is contained in:
parent
71e4a79fc1
commit
233e5ac0e8
3
.gitignore
vendored
3
.gitignore
vendored
@ -60,3 +60,6 @@ releasenotes/build
|
||||
|
||||
# Files created by releasenotes build
|
||||
releasenotes/build
|
||||
|
||||
# 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…
Reference in New Issue
Block a user