Skip to content
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

React to retriggering comments for downstream jobs #2222

Conversation

lbarcziova
Copy link
Member

When the downstream jobs are retriggered via comments (both in dist-git projects or issues in issue_repository), react to the comment by posting the Task was accepted commend with additional information where to check the job progress.

Fixes #2214
Fixes #1989


RELEASE NOTES BEGIN
Packit now reacts to retriggering comments for downstream jobs by commenting on the same issue/PR and providing information about the jobs.
RELEASE NOTES END

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://softwarefactory-project.io/zuul/t/packit-service/buildset/c4faac4a5dc541ef967bfb3cbb28cfa7

✔️ pre-commit SUCCESS in 1m 47s
✔️ packit-service-tests SUCCESS in 2m 02s
✔️ packit-service-tests-openshift SUCCESS in 13m 41s

Copy link
Member

@lachmanfrantisek lachmanfrantisek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

packit_service/worker/handlers/bodhi.py Outdated Show resolved Hide resolved
packit_service/worker/handlers/distgit.py Outdated Show resolved Hide resolved
When the downstream jobs are retriggered via comments (both in dist-git
projects or issues in issue_repository), react to the comment by posting
the `Task was accepted` commend with additional information where to check
the job progress.

Fixes packit#2214
Fixes packit#1989
@lbarcziova lbarcziova added the mergeit When set, zuul wil gate and merge the PR. label Oct 12, 2023
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://softwarefactory-project.io/zuul/t/packit-service/buildset/ea826ba475be4a6ca1b56b2bc7372287

✔️ pre-commit SUCCESS in 1m 44s
✔️ packit-service-tests SUCCESS in 1m 59s
✔️ packit-service-tests-openshift SUCCESS in 12m 04s

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).
https://softwarefactory-project.io/zuul/t/packit-service/buildset/7ca776ca84b9454ca1d203cada148dd0

✔️ pre-commit SUCCESS in 1m 46s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 5e738ae into packit:main Oct 12, 2023
3 checks passed
@lbarcziova lbarcziova deleted the downstream-jobs-task-accepted branch October 12, 2023 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergeit When set, zuul wil gate and merge the PR.
Projects
None yet
2 participants