If you want to use Robusta, see our installation guide.
If you want to develop features for Robusta itself you'll need to install Robusta from source:
git clone
the source code.- Install skaffold and kustomize.
- Run
skaffold run --tail
If you want to use the Slack integration:
- Get a slack token from https://robusta.dev/integrations/slack/?id=xyz
- Add it to
deployment/dev/set_slack_api_key.yaml
before running skaffold - Optional: reduce the chance you'll accidentally commit your Slack key to git by running
git update-index --skip-worktree deployment/dev/set_slack_api_key.yaml
(see here for details)
If you want to run the Robusta runner on your own computer (e.g. with telepresence):
git clone
the source codecd src
poetry install
poetry run python3 -m robusta.runner.main
If you're on Mac OS and receive errors about Pillow
or libjpeg
when running poetry install
then run brew install libjpeg
first.
This is only necessary if you are developing features for the cli itself. If you just want to develop robusta-runner and install it from your local version, use the skaffold instructions above.
git clone
the source codecd src
poetry install
poetry run robusta
This method installs robusta into your global python environment
git clone
the source codecd src
pip3 install .
- Set a Slack token in
tests/config.env
cd src && python -m pytest ..
(add-s
to print all pytest output and--keep-cluster
to keep the test KIND cluster alive after tests finish)- Optional: reduce the chance you'll accidentally commit your Slack key to git by running
git update-index --skip-worktree tests/config.env