Skip to content

Commit

Permalink
scripts/ci: add configuration for a Vagrant virtual machine
Browse files Browse the repository at this point in the history
Using Vagrant makes reproducing and debuggin CI issues easier: after
"vagrant up", a test virtual machine is up and running, and ready to run
"fedora-test-runner.sh".

Signed-off-by: Nicolas Iooss <[email protected]>
  • Loading branch information
fishilico committed Oct 2, 2020
1 parent e698dd6 commit 5f27f67
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/ci/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vagrant/
18 changes: 18 additions & 0 deletions scripts/ci/Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
config.vm.box = "fedora/32-cloud-base"
config.vm.synced_folder "../..", "/root/selinux"

config.vm.provider "virtualbox" do |v|
v.memory = 4096
end
config.vm.provider "libvirt" do |v|
v.memory = 4096
end
end

0 comments on commit 5f27f67

Please sign in to comment.