A Mattermost bot for the Canonical webteam.
- Install dependencies:
bun install- Set up configuration:
- Copy
config.jsontoconfig.local.json - Configure credentials (prod credentials in bitwarden)
- Copy
Start the development server with hot reload:
bun run devRun in production:
bun run startBuild for deployment:
bun run buildGET /_status/check: Returns "OK" for health monitoring
POST /webhooks/alertmanager: Receives Alertmanager notifications and send on COS alerts channelPOST /webhooks/gh-action-fail: GitHub Actions failure notificationsPOST /webhooks/release: Release event notifications (notify IS of new deployments)POST /webhooks/acronym: /acronym commandPOST /webhooks/explain: /explain commandPOST /webhooks/dir: /directory commandPOST /webhooks/meet: /meet command
These endpoints are also available under /hubot for backwards compatibility
See the commands README for detailed instructions on adding new chat commands.