update tests

- switch to f27
- do not use tito build -i cause it calls dnf -C and some deps does not to be installed
- remove unneeded sudo
This commit is contained in:
clime 2018-01-13 16:41:19 +01:00
parent 836f41ee80
commit 9631061653

10
Vagrantfile vendored
View file

@ -5,7 +5,7 @@ Vagrant.configure(2) do |config|
### distgit ###################################################
config.vm.define "distgit" do |distgit|
distgit.vm.box = "fedora/25-cloud-base"
distgit.vm.box = "fedora/27-cloud-base"
distgit.vm.synced_folder ".", "/vagrant", type: "rsync"
@ -14,7 +14,7 @@ Vagrant.configure(2) do |config|
# Update the system
distgit.vm.provision "shell",
inline: "dnf clean all && sudo dnf -y update || true" # || true cause dnf might return non-zero status (probly delta rpm rebuilt failed)
inline: "dnf clean all && dnf -y update || true" # || true cause dnf might return non-zero status (probly delta rpm rebuilt failed)
distgit.vm.provision "shell",
inline: "dnf install -y tito wget"
@ -24,7 +24,11 @@ Vagrant.configure(2) do |config|
run: "always"
distgit.vm.provision "shell",
inline: "cd /vagrant/ && tito build -i --test --rpm",
inline: "cd /vagrant/ && tito build --test --rpm",
run: "always"
distgit.vm.provision "shell",
inline: "dnf install -y /tmp/tito/noarch/*.rpm",
run: "always"
# setup test user