-
Notifications
You must be signed in to change notification settings - Fork 137
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
Add packit copr_build job on commit #4491
Conversation
Kudos, SonarCloud Quality Gate passed! |
Hello, Packit PO here..;) Just to clarify. If you hardcode the Copr project, Packit will not allow fork builds in that Copr project. (If not allowed in the Copr settings.) You are right that it's now not possible to parametrise this for forks. (You can only enable the fork to use the very same Copr project.) I would suggest staying with the builds in Packit's namespace if possible so you have both usecases covered and Packit can also handle chroot updates when needed for you. Let us know if you need any help. (Maybe with setting up tests or the rest of the Fedora workflow?...;) |
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.
LGTM
Hello! I am a very happy customer 😄
Thanks for the clarification, good to know!
Understood, thanks! The reason it would have been better to put the builds into
I have found the documentation and examples sufficient so far to do what we need, so kudos for that. If I have questions as we start doing more complicated stuff I will definitely reach out, one of my colleagues has done so already and came back happy with that interaction. 👍 While I have your ear though, we are particularly interested in multi-package updates (packit/packit#1870) and CentOS Stream integration (packit/packit-service#2068). These things not being supported is why we didn't consider Packit earlier, so we are very pleased that they are on the agenda! |
Thanks @fmarco76 ! |
Good to know who is interested in these! Dependencies will take us some time to design and do properly, but I can say that the CentOS Stream release syncing is currently being implemented..;) (Will let you know once it's ready.) |
Yeah the multi-package update is a tricky one. Glad to hear about CentOS Stream, looking forward to it 😄 |
trigger: commit | ||
branch: master | ||
additional_repos: | ||
- "https://download.copr.fedorainfracloud.org/results/%40pki/master/rhel-9-x86_64/" |
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.
There's a trailing backslash here and in propose_downstream
above for RHEL 9, is this needed? I don't think it's causing any problem, just being OCD 😄
- "https://download.copr.fedorainfracloud.org/results/%40pki/master/rhel-9-x86_64/" | ||
- "https://download.copr.fedorainfracloud.org/results/%40pki/master/fedora-37-x86_64" | ||
- "https://download.copr.fedorainfracloud.org/results/%40pki/master/fedora-38-x86_64" | ||
- "https://download.copr.fedorainfracloud.org/results/%40pki/master/fedora-rawhide-x86_64" | ||
- "https://download.copr.fedorainfracloud.org/results/%40pki/master/centos-stream-9-x86_64" |
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.
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.
Thanks, that is much less gross than what I wrote!
This commit extends the
packit
COPR builds that run in the CI for PRs to commits, both in forks prior to PR opening and on merge tomaster
.Example run in my fork: https://github.com/ckelleyRH/pki/runs/14586351933
Instructions for enabling it in your own fork: https://packit.dev/docs/guide/
As presented, the COPR builds in the fork go into the
packit
namespace like this: https://copr.fedorainfracloud.org/coprs/packit/ckelleyRH-pki-master/build/6118108/...and presumably once merged, the on-commit job that will run will also do builds in the
packit
namespace.I think the
packit
namespace is fine for the forks, but it would have been nicer if the on-commit tomaster
builds went into@pki/master
. It is possible to configure that, but then all the fork builds would also then go into there, and we don't want that. I haven't seen a way to conditionalise that though. I think it is fine for now though, unless anyone can think of a better way.