The Online DevOps Dojo coach is here to make the DevOps learning experience even more enjoyable.
Actually the coach is a robot which allows you to interact with the "Charlie Veterinary Clinic" virtual team in the context of GitHub issues and pull requests.
One can imagine a lot of funny exchanges which at some point will require a genuine test pipeline!
How to Setup your custom instance of the robot.
Our implementation uses a GitHub application with Probot and upload an AWS Lambda function using GitHub Actions and Serverless.
Other architectures are of course possible without changing anything to the
Probot application.
For example, we have another instance running in a container
in Kubernetes. The GitHub workflow is replaced by a Jenkins pipeline and
Serverless by a Helm chart.
DevOps Dojo Coach is a
GitHub App built with
Probot framework on Node.js. Its embedded
logging API is
bunyan.
The custom bot code is fully contained in the file index.js.
The bot can be run locally with:
# Install dependencies
npm install
# Run the bot
npm start
More knowledge on building GitHub apps here.
If you have suggestions for how the Dojo coach could be improved, or want to report a bug, open an issue or a PR! We'd love all and any contributions.
We are interested in adding the following features in the future:
- Replace the GitHub app / Lambda function by a GitHub action. This would remove dependencies, but will it be responsive enough?
- Add a test pipeline.