From 963106165304807c30b276a112da93905f31a0e6 Mon Sep 17 00:00:00 2001 From: clime Date: Sat, 13 Jan 2018 16:41:19 +0100 Subject: [PATCH] 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 --- Vagrantfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index ccc71a3..2aaa493 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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