Wednesday, 2023-10-04

-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul] 890166: Add gcloud pubsub support to Gerrit driver https://review.opendev.org/c/zuul/zuul/+/89016603:29
@mfeder:matrix.orgHello,08:26
I'm interested in sending a build report to the Matrix chat through Zuul once the build completes. After exploring the available Zuul reporters, I couldn't find one that suits my needs. e.g. I'm unable to receive MQTT messages from Zuul when using a non-self-hosted Matrix server.
To address this, I'm considering options such as creating a custom Matrix reporter and extending the Zuul codebase to support it. However, for the time being, I'd prefer a workaround if possible. One idea is to send the report to Matrix from a post-run or cleanup-run job. Nevertheless, I've noticed that only the zuul_success and zuul_will_retry boolean values are passed to post-run jobs, which don't cover all possible build statuses (e.g., when the build is aborted).
Any insights or suggestions on how to achieve this would be great.
@fungicide:matrix.orgmfeder: when you say "I'm unable to receive MQTT messages from Zuul when using a non-self-hosted Matrix server" you mean matrix servers have their own mqtt listeners? i never knew that. i assumed you'd just run a standalone daemon somewhere (possibly even on your zuul scheduler) that listened to the mqtt output and connected to matrix like a normal client. we have something similar that reports in this channel from gerrit's ssh-based event stream, for example10:11
@mfeder:matrix.orgfungi: I meant to create a matrix bot equipped with MQTT listeners... Anyway, thank your for your hint to spawn standalone daemon which would consume MQTT reports and subsequently transmit them to the Matrix. I will certainly give this approach a try, and again, thank you!11:00
-@gerrit:opendev.org- daniel.pawlik https://matrix.to/#/@dpawlik:matrix.org proposed: [zuul/zuul-jobs] 896646: Add workaround for resolving DNS hostname in pod; add dns test https://review.opendev.org/c/zuul/zuul-jobs/+/89664612:11
-@gerrit:opendev.org- daniel.pawlik https://matrix.to/#/@dpawlik:matrix.org proposed: [zuul/zuul-operator] 894504: DNM checking CI for Publish container images to quay.io https://review.opendev.org/c/zuul/zuul-operator/+/89450412:22
-@gerrit:opendev.org- daniel.pawlik https://matrix.to/#/@dpawlik:matrix.org proposed: [zuul/zuul-jobs] 894755: Add feature to set --vm-driver name for minikube https://review.opendev.org/c/zuul/zuul-jobs/+/89475512:25
-@gerrit:opendev.org- daniel.pawlik https://matrix.to/#/@dpawlik:matrix.org proposed: [zuul/zuul-operator] 894504: DNM checking CI for Publish container images to quay.io https://review.opendev.org/c/zuul/zuul-operator/+/89450413:57
-@gerrit:opendev.org- daniel.pawlik https://matrix.to/#/@dpawlik:matrix.org proposed: [zuul/zuul-operator] 894504: DNM checking CI for Publish container images to quay.io https://review.opendev.org/c/zuul/zuul-operator/+/89450414:09
-@gerrit:opendev.org- daniel.pawlik https://matrix.to/#/@dpawlik:matrix.org proposed: [zuul/zuul-jobs] 897337: DNM Add workaround for unqualified-search in Minikube https://review.opendev.org/c/zuul/zuul-jobs/+/89733714:18
-@gerrit:opendev.org- daniel.pawlik https://matrix.to/#/@dpawlik:matrix.org proposed: [zuul/zuul-operator] 894504: DNM checking CI for Publish container images to quay.io https://review.opendev.org/c/zuul/zuul-operator/+/89450414:55

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!