-
Notifications
You must be signed in to change notification settings - Fork 48
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
[RFE] can we trigger koji-build (or other packit-service ) ? #2651
Comments
Hi @sergiomb2 , I hope you know this already, but Packit CLI is not a client for the Packit Service but a way to run this with your identity locally. (It's on the same level as service.) Regarding the commands:
So, can these options help in your use case?
|
" Unfortunately, there is a bug that prevents Packit from triggering the Koji build when more than one commit has been forwarded in a branch. You can work around this bug by manually retriggering the Koji build by commenting on the downstream merged pull request with /packit koji-build. Maybe "with packit command line" is confusing because is one suggestion to solve the RFE. in resume when packit-service fail to run , I'd like have a way to trigger it again . |
@sergiomb2 , if I understand you properly, you want to mention also a way how to overcome this problem via CLI? We can easily add that. I am just not sure if this isn't too complicated and confusing compared to commenting on a pull-request.
So, I can see two options:
Witch one do you prefer? I slightly prefer the first one because it's easier and does not have any downsides. |
From the today's team discussion:
|
Also related with #1657 |
is more than confusing, doesn't do the same , the owners of builds are different, the user which create update is me and is not packit , I have do it in two steps [1] at least and "packit create-update" doesn't close bugs as packit service do . On other hand one pull requests just to request packit service , is not a good option for me , history on git and of PRs will not be elegant [1] |
"We should give maintainers the ability to overcome a failing automation." yes, definitively is what I'm asking in this issue , overcome a failing automation without hacking and with the same automation if it isn't much difficult. we have |
That's exactly what I meant. Unless we have a real client CLI, we can't fix these issues.
Not sure if I fully follow, but you can use any dist-git PR to retrigger the job. And I don't think information about retriggering needs to be saved in git. It's like a "rerun" button. But to have something actionable:
I hope this works for you |
I see, we can use an old PR to retigger the job ? can I use one close PR ? well, this ticket is just about retigger the job without use an (new) PR. Thank you, Reading week 44, https://packit.dev/posts/weekly/2024/week-44#week-44-october-29th--november-4th I'll add this [1] to almost all configuration , and I will see how it goes ...
|
fast_forward_merge_into: [fedora-branched] worked well, now I got PR(s) for all branches , if something fail, I can use the PR in question to re-trigger any event . So everything is solved |
Description
hello, last paragraph of https://packit.dev/docs/fedora-releases-guide/non-divergent-dist-git-branches says "You can work around this bug by manually retriggering the Koji build by commenting on the downstream merged pull request with /packit koji-build " .
packit build in-koji doesn't do the bodhi update and packit create-update --dist-git-branch doesn't do the same of packit-service, for example doesn't close the bugs on bugzilla.
Best regards,
Benefit
more uniform automation
Importance
No response
What is the impacted category (job)?
Fedora release automation
Workaround
Participation
The text was updated successfully, but these errors were encountered: