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 bf401c7 commit cda2574
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
trigger: pull_request
targets:
- fedora-latest-stable
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/storage/blivet-daily/repo/fedora-$releasever/group_storage-blivet-daily-fedora-$releasever.repo

# run tests for udisks consumers, see plans/ with `revdeps == yes`
- job: tests
Expand Down
2 changes: 2 additions & 0 deletions plans/tests.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ prepare:
script:
- sudo dnf install -y 'dnf-command(copr)'
- sudo dnf copr enable -y @storage/blivet-daily
- sudo dnf clean all
- sudo dnf -y distrosync --refresh

- name: ansible
how: ansible
Expand Down

0 comments on commit cda2574

Please sign in to comment.