~sircmpwn/builds.sr.ht#262
[feature] build status notification

Hello,

I am wondering if it would be possible to use notification systems like pushover to dispatch build status notifications. Intuitively a simple interface to send HTTP POST to a given URL would be enough, but I don't know how private/secure that would be.

Thanks !

Status
RESOLVED INVALID
Submitter
~xguerin
Assigned to
No-one
Submitted
13 days ago
Updated
12 days ago
Labels
No labels applied.

~sircmpwn REPORTED INVALID 13 days ago

https://man.sr.ht/builds.sr.ht/triggers.md

~xguerin 13 days ago

Is there any way to add attribute to a POST? At least the pushover service requires some form of authentication.

~sircmpwn 12 days ago

No, you'd have to add support for builds.sr.ht to pushover. The webhook payloads are signed so you can validate they came from us. You could also add some kind of service in the middle which receives the builds.sr.ht payload, and then sends a notification to pushover.

~xguerin 12 days ago

Thanks for the feedback. I settled on a script at the end of my test stage that curl into pushover with the $? of the test. It's not gonna catch errors unrelated to the test itself but it's good enough.

Register here or Log in to comment, or comment via email.