-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
verify RPMs using rpminspect #786
base: main
Are you sure you want to change the base?
Conversation
Build succeeded. ✔️ pre-commit SUCCESS in 2m 04s |
Build succeeded. ✔️ pre-commit SUCCESS in 2m 10s |
What? |
/packit-stg test |
Btw, for
|
ab93f1b
to
abf740a
Compare
Build succeeded. ✔️ pre-commit SUCCESS in 2m 06s |
/packit test |
plans/rpminspect-centos.fmf
Outdated
- rpminspect | ||
- rpminspect-data-centos | ||
- how: shell | ||
script: cd /tmp && curl -O ${PACKIT_SRPM_URL} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
script: cd /tmp && curl -O ${PACKIT_SRPM_URL} | |
script: dnf download ${PACKIT_COPR_RPMS} --destdir=$TMT_PLAN_DATA |
A simpler one-liner, and then in tests
, change the path accordingly. Should be more robust against future environment changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually, I think we wanted to avoid downloading the RPMs ourselves and leave this to TF itself, as looking into packit/packit.dev#607
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure I understand this. You mean to not use ${PACKIT_COPR_RPMS}
or to have them available on TF by default? Would this still be reproducable locally via the testing farm link?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just an alternative way how to download RPMs without changing anything else. So we should be fine with this approach.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe, the only downside might be the lack of DNF on some systems.
abf740a
to
ce3cc57
Compare
Build failed. ❌ pre-commit FAILURE in 39s |
Build failed. ✔️ pre-commit SUCCESS in 1m 39s |
recheck |
Build failed. ✔️ pre-commit SUCCESS in 1m 45s |
Signed-off-by: Tomas Tomecek <[email protected]>
TF downloads both RPMs and SRPM (rebuilt by Copr), so we can run rpminspect on all of them in one step.
8ff307c
to
e1adbeb
Compare
Build succeeded. ✔️ pre-commit SUCCESS in 2m 40s |
Actually things have evolved a bit here. How about using the |
just verifying packit/packit.dev#607