Developers, build and run locally with SBT (requires Java 21+):
$ cd gmbot
$ sbt runOperators, build and push a Docker image (no local sbt/Java required):
docker build . -t <registry>/gm-bot
docker push <registry>/gm-bot:latestOr run locally:
docker run -p 8080:8080 <registry>/gm-botAnd finally, the docker image can be deployed to Kubernetes using the simple manifest available in manifest/deployment.yaml.
Before the first deploy, create the secret in the cluster manually (not tracked in git):
kubectl create secret generic gm-bot-secrets \
--from-literal=SLACK_SIGNING_SECRET=<secret-from-api.slack.com>