-
Notifications
You must be signed in to change notification settings - Fork 142
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
ci: Add Packit configuration for RPM builds on PRs #1080
Conversation
e54fe96
to
27eda0f
Compare
Based on your Packit configuration the settings of the @storage/udisks-pr Copr project would need to be updated as follows:
Packit was unable to update the settings above as it is missing To fix this you can do one of the following:
Please retrigger the build, once the issue above is fixed. |
27eda0f
to
1521f40
Compare
Failed to load packit config file:
For more info, please check out the documentation or contact the Packit team. |
1521f40
to
27a94ea
Compare
We have requested the Please confirm the request on the @storage/udisks-pr Copr project permissions page and retrigger the build by a |
/packit build |
1 similar comment
/packit build |
@martinpitt so the problem with this is we want to use the latest build of libblockdev (also available in |
Account martinpitt has no write access nor is author of PR! |
Thanks for the ping @vojtechtrefny ! The srpm build apparently succeeded, just the binary one failed. The package builds are long gone, so I'll retry this in my own fork: martinpitt#1 But conceptionally, why would you even need all these build dependencies and the extra COPR for building the source RPMs? This shouldn't be much more than |
/packit build |
That said, apparently you can do srpm builds in a custom repo as well. The podman team does this, and e.g. this PR build and the srpm build log at least appears to have happened in their custom copr, not in the standard packit srpm copr. @lachmanfrantisek, @lbarcziova, is that right? That said, this is still fishy -- it would IMHO be better to have a way to get a dist tarball without having to install the latest and greatest libblockdev (for binary builds you need it of course) |
I agree with that, but I am not sure how to do that without rewriting a big portion of |
@vojtechtrefny : I have a current build in martinpitt#1 , and indeed it fails to install libblockdev-nvme-devel . Give me an hour or so, I have an idea. |
owner: "@storage" | ||
project: udisks-pr |
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.
@vojtechtrefny Just one question: Why do you want a custom COPR for PR builds? Aren't the transient ones that packit provides good enough for testing PR? (We only use them in cockpit, and they are just fine).
Note that this is not the same as your "daily" COPR -- that should be a permanent one, but that will have trigger: push
(on master).
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.
Oh, I forgot about this. Packit team recommended using a custom repo and adding the @storage/udisks-daily
repo to the external repositories. This also didn't work and since that I removed the repo from @storage
. (This also explains why Packit failed to do a new build when I triggered it manually.)
I sent PR #1159 to fix this. |
No description provided.