mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-27 05:18:39 +01:00
tests(vagrant): support for integration test.
Do not share the repository during integration tests as the test are destructive.
This commit is contained in:
parent
2f33ff2602
commit
105b2aea8c
1 changed files with 3 additions and 1 deletions
4
tests/Vagrantfile
vendored
4
tests/Vagrantfile
vendored
|
@ -23,8 +23,10 @@ Vagrant.configure("2") do |config|
|
||||||
srv.vm.box = instance['box']
|
srv.vm.box = instance['box']
|
||||||
srv.vm.box_check_update = false
|
srv.vm.box_check_update = false
|
||||||
srv.vm.post_up_message = instance.to_yaml
|
srv.vm.post_up_message = instance.to_yaml
|
||||||
srv.vm.synced_folder '../', '/home/user/Projects/apparmor.d', type: 'virtiofs'
|
|
||||||
srv.vm.synced_folder '.', '/vagrant', disabled: true
|
srv.vm.synced_folder '.', '/vagrant', disabled: true
|
||||||
|
if !ENV['AA_INTEGRATION']
|
||||||
|
srv.vm.synced_folder '../', '/home/user/Projects/apparmor.d', type: 'virtiofs'
|
||||||
|
end
|
||||||
|
|
||||||
# Configure Libvirt provider
|
# Configure Libvirt provider
|
||||||
srv.vm.provider 'libvirt' do |libvirt|
|
srv.vm.provider 'libvirt' do |libvirt|
|
||||||
|
|
Loading…
Reference in a new issue