-
Notifications
You must be signed in to change notification settings - Fork 80
testing-farm: force pre-release copr-rpmbuild onto builder #4146
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
base: main
Are you sure you want to change the base?
testing-farm: force pre-release copr-rpmbuild onto builder #4146
Conversation
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.
Code Review
The pull request introduces changes to dynamically fetch GitHub PR data and use it to install pre-release copr-rpmbuild packages in the testing-farm environment. While the overall approach is sound, there are a few areas for improvement. Specifically, there's redundant JSON parsing in an Ansible task, a logical error in how the COMMIT_SHA is constructed for package detection, a critical typo in a Jinja2 template, and an opportunity to improve the robustness of fetching the install-copr-packages script by referencing the PR's head SHA instead of the main branch. Addressing these points will enhance the correctness, efficiency, and maintainability of the solution.
testing-farm/prepare/roles/pre-release-packages/templates/install-pre-release-packages.j2
Outdated
Show resolved
Hide resolved
testing-farm/prepare/roles/pre-release-packages/tasks/main.yaml
Outdated
Show resolved
Hide resolved
Pull Request validationFailed🔴 Review - Missing review from a member (2 required) Success🟢 CI - All checks have passed |
da4772d to
17f8793
Compare
|
/packit test |
Move the tested image to Fedora 43. Fixes: fedora-copr#4103
17f8793 to
d4467b2
Compare
|
/packit test |
|
/packit test |
121c327 to
125b50a
Compare
|
I added a new commit fixing generic test failure. /packit test |
The `main` variant (Rawhide) uses a locally created `make dist` tarball, to work-around the current FTBFS against the newest GCC: https://src.fedoraproject.org/rpms/hello/c/af27df4609302190668b8db4cb85380aab4f7795?branch=rawhide Waiting for a new GNU Hello release: https://savannah.gnu.org/bugs/?67961
125b50a to
09f3137
Compare
|
/packit test |
c0b08c2 to
b872dcc
Compare
|
/packit test |
Fixes: #4103