mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 09:17:08 +00:00
In case of errors (or anything else of note), send_alert.py can be used to push information to a GitLab alerts endpoint. It is generic enough that it can be used with anything else, though.
15 lines
543 B
YAML
15 lines
543 B
YAML
|
|
db:
|
|
connection_string: "host=localhost port=5432 dbname=dougal user=postgres"
|
|
|
|
webhooks:
|
|
alert:
|
|
url: https://gitlab.com/wgp/dougal/software/alerts/notify.json
|
|
authkey: ""
|
|
# The authorisation key can be provided here or read from the
|
|
# environment variable GITLAB_ALERTS_AUTHKEY. The environment
|
|
# variable has precedence. It can be saved under the user's
|
|
# Bash .profile. This is the recommended way to avoid accidentally
|
|
# committing a security token into the git repository.
|
|
|