Skip to content

Commit

Permalink
ci: Run dnf update in packit tests
Browse files Browse the repository at this point in the history
The daily builds copr repository is enabled after installing the
packages so we need to run an update to get the latest version of
libblockdev.
  • Loading branch information
vojtechtrefny committed Aug 14, 2024
1 parent d9ae9ff commit cb927d1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion plans/tests.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,20 @@ prepare:
script:
- sudo dnf install -y 'dnf-command(copr)'
- sudo dnf copr enable -y @storage/blivet-daily
- rpm -qq libblockdev
- rpm -qq python3-blockdev
- sudo dnf clean all
- sudo dnf -y update --refresh
- rpm -qq libblockdev
- rpm -qq python3-blockdev
- sudo dnf info libblockdev
- sudo dnf -y update libblockdev -d 10
- sudo dnf -y install libblockdev-3.1.1-99.20240814064123645242.master.140.g288c2e53.fc40

- name: ansible
how: ansible
playbook: misc/install-test-dependencies.yml

execute:
how: tmt
script: sudo make test
script: sudo make check

0 comments on commit cb927d1

Please sign in to comment.