Files
dougal-software/etc/config.yaml
D. Berge b4b06c8744 Instrument alerts for deferred imports.
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.
2020-08-24 20:02:12 +02:00

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.