|Chris Smith 78be93203a Sensu: check name in backticks||3 weeks ago|
|lineandsinker||3 weeks ago|
|static||3 weeks ago|
|templates||3 weeks ago|
|.gitignore||8 months ago|
|.pre-commit-config.yaml||8 months ago|
|Dockerfile||8 months ago|
|README.md||3 weeks ago|
|main.py||3 weeks ago|
|requirements.txt||8 months ago|
Line and Sinker (LaS) works with WebHooks from multiple services in order to bridge them together. Think of it as a personal ifttt instance for development and infrastructure tooling.
All configuration is done using environment variables to facilitate easy deployment in a docker container.
||Base web-facing URL at which LaS is accessible, used to generate hook URLs|
||Random string used to generate secure hook URLs|
||Password to require for web-based admin functionality|
LaS accepts WebHook calls to URLs in the format of
<service> is the service calling
(e.g. GitHub, Jenkins),
<identifier> is some service-specific identifier for
the hook (e.g. the name of a repository or project), and
<hash> is a
hex-encoded sha-256 hash of the service, LaS secret, and identifier
concatenated together. The secret prevents anyone that discovers the endpoint
from triggering hooks spuriously or maliciously.
LaS accepts hooks from the docker registry. There are no configuration options.
||Base URL of the Gitea instance to connect to|
||Application token to use to authenticate to Gitea|
||If present, automatically add hooks to all repos|
LaS accepts Gitea webhooks and can automatically add itself as a hook for all repositories it has access to using the given token.
||Base URL of the Jenkins instance to connect to|
||Username of the Jenkins account to use to connect|
||Password of the Jenkins account to use|
LaS accepts Jenkins webhooks but does not automatically create them. It can start Jenkins jobs in response to other events.
||The full URL to the report API endpoint|
||The authentication key to use|
||The channel to send messages to|
LaS can send messages to a ReportBot instance.
LaS accepts JSON events from Sensu. There are no configuration options.
LaS accepts Slack-style webhooks. There are no configuration options.
pip install pre-commit pre-commit install