mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 15:02:54 +00:00
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:
parent
836f41ee80
commit
9631061653
1 changed files with 7 additions and 3 deletions
10
Vagrantfile
vendored
10
Vagrantfile
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue