Skip to content

Commit

Permalink
verify RPMs using rpminspect
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Tomecek <[email protected]>
  • Loading branch information
TomasTomecek authored and lbarcziova committed Jul 11, 2023
1 parent aa4167d commit 1ac6b85
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions plans/rpminspect.centos.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
summary:
Check rpm files with rpminspect
discover:
how: shell
tests:
- name: rpminspect SRPM
test: rpminspect-centos -v -t VERIFY --profile=centos-stream-9-devel /tmp/*.src.rpm
- name: rpminspect binary RPMs
test: for rpm in /var/share/test-artifacts/*.rpm; do rpminspect-centos -v -t VERIFY --profile=centos-stream-9-devel $rpm; done
prepare:
- name: packages
how: install
package:
- rpminspect
- rpminspect-data-centos
- how: shell
script: cd /tmp && curl -O ${PACKIT_SRPM_URL}
execute:
how: tmt
19 changes: 19 additions & 0 deletions plans/rpminspect.fedora.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
summary:
Check rpm files with rpminspect
discover:
how: shell
tests:
- name: rpminspect
test: rpminspect-fedora /tmp/*.src.rpm
- name: rpminspect binary RPMs
test: for rpm in /var/share/test-artifacts/*.rpm; do rpminspect-fedora $rpm; done
prepare:
- name: packages
how: install
package:
- rpminspect
- rpminspect-data-fedora
- how: shell
script: cd /tmp && curl -O ${PACKIT_SRPM_URL}
execute:
how: tmt

0 comments on commit 1ac6b85

Please sign in to comment.