Skip to content

Commit

Permalink
Add libdnf5 and libdnf5-cli rpminspect ABI check plan
Browse files Browse the repository at this point in the history
It compares ABI of current PR build with the last nightly build.
This means the ABI diff will mostly show only very recent changes.

Since it already uses rpminspect we could also enable additional checks
if we want to.
  • Loading branch information
kontura committed Nov 19, 2024
1 parent 337b4d6 commit e70168b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions plans/integration/abi-libdnf5.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
summary:
Check libdnf5 and libdnf5-cli rpm files with rpminspect for ABI compatibility
discover:
how: shell
tests:
- name: Use rpminspect to compare ABI with last nightly build of libdnf5 and libdnf5-cli
test: rpminspect-fedora -T abidiff /var/share/test-artifacts/nightly/libdnf5-5*.rpm /var/share/test-artifacts/libdnf5-5*.rpm; rpminspect-fedora -T abidiff /var/share/test-artifacts/nightly/libdnf5-cli-5*.rpm /var/share/test-artifacts/libdnf5-cli-5*.rpm
prepare:
- name: packages
how: install
package:
- rpminspect
- rpminspect-data-fedora
- name: get-current-builds
how: shell
# Set destdir to /var/share/test-artifacts/ because Copr build are stored there as well: https://packit.dev/docs/configuration/upstream/tests#rpminspect
script: dnf copr enable rpmsoftwaremanagement/dnf-nightly fedora-rawhide-x86_64 -y && dnf download libdnf5 libdnf5-cli --repo copr:copr.fedorainfracloud.org:rpmsoftwaremanagement:dnf-nightly --destdir=/var/share/test-artifacts/nightly
execute:
how: tmt

0 comments on commit e70168b

Please sign in to comment.