SRE Bot
A slack bot for site reliability engineering at CDS.
This bot is using the Bolt framework in python (https://slack.dev/bolt-python/) and uses a web socket connection to Slack.
Local Development with Containers
This project uses Visual Studio Code Remote - Containers.
Here are the instructions to get started with developing locally.
Requirements:
- Docker installed and running
- VS Code
Steps:
- Clone the repo
- Open VS Code with Dev Container (see Quick start: Open an existing folder in a container)
- Install Python dependencies
cd app && pip install --no-cache-dir -r requirements.txt
- Add a
.env
file to the/workspace/app
folder (Contact SRE team for the project specific .env setup) - Launch the dev bot with
make dev
- Test your development in the dedicated channel (SRE team will confirm which channel to point to)