The repository now contains a Vagrantfile for running the testing script against an RPM package created locally using `make rpm`. To run this test use `make vagrant-test`. setup.py was also modified to adhere to packaging guidelines and not to install system-level executables. The lincense is now included in the Python package using the MANIFEST.in file.
15 lines
361 B
Ruby
15 lines
361 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
$script = <<-SCRIPT
|
|
sudo dnf install qemu-system-x86 /vagrant/osbuild*.rpm -y
|
|
SCRIPT
|
|
|
|
Vagrant.configure("2") do |config|
|
|
config.vm.box = "fedora/30-cloud-base"
|
|
config.vm.box_version = "30.20190425.0"
|
|
config.vm.provider "libvirt" do |v|
|
|
v.memory = 4096
|
|
end
|
|
config.vm.provision "shell", inline: $script
|
|
end
|