This repository contains a scaffold with a sample implementation of a Steadybit extension. You may find this repository helpful…
- When you want to understand what Steadybit extensions are.
- When you want to build a Steadybit extension
Please follow one of the links above to move to the appropriate documentation sections.
One of the best ways to understand the extension mechanism is to run an extension and experiment with its APIs. We have prepared Gitpod and GitHub codespaces setups to make this as easy as possible for you.
When you click one of these buttons, you will be directed to an online editor with a locally running extension, and the file README.http
will open. This file contains documentation and HTTP calls you can execute to learn about extensions and this specific sample implementation.
Note: We recommend that you understand the extension mechanism before following these instructions.
This repository ships with everything Steadybit extensions might need:
- Basic usage of and initialization for ActionKit, DiscoveryKit, EventKit and ExtensionKit.
- Extension configuration support.
- Dockerfile and Helm chart.
- GitHub actions for building, testing and publishing Docker images and Helm charts.
- and more.
To use this scaffold, you need to:
- Get a copy of this scaffold. Use GitHub's repository template feature, fork the repository or download it.
- Execute
make eject
within the copy to replace the readme, license etc. files with some more appropriate starting points. - Delete the
.github/workflows/cla.yml
workflow or allow access to the access for CLA verification. - Rename all occurrences of
extension-scaffold
toextension-{{other name}}
- Verify that the Docker and Helm installation instructions are correct in the
README.md
- Create an empty branch named "gh-pages"
- After the first build, ensure that you make the Docker image public through
packages -> {{your package name}} -> Package settings -> Change visibility