- Clone the repository
$ make tidy
$ make run
$ open http://localhost:8089
The Makefile
in the project root contains commands to easily run common admin tasks:
Command | Meaning |
---|---|
$ make tidy |
Format all code using go fmt and tidy the go.mod file. |
$ make audit |
Run go vet , staticheck , execute all tests and verify required modules. |
$ make build |
Build a binary for the extension. Creates a file called extension in the repository root directory. |
$ make run |
Build and then run the created binary. |
To make a new release, do the following:
- Update the
CHANGELOG.md
- Commit and push the changelog changes.
- Set the tag
git tag -a vX.X.X -m vX.X.X
- Push the tag.
- Update the version number in the Chart.yaml
- Commit and push the changes.
Changing the Helm chart without bumping the version will result in the following error:
> Releasing charts...
Error: error creating GitHub release steadybit-extension-debug-1.0.0: POST https://api.github.com/repos/steadybit/extension-debug/releases: 422 Validation Failed [{Resource:Release Field:tag_name Code:already_exists Message:}]
In order to accept your pull request, we need you to submit a CLA. You only need to do this once. If you are submitting a pull request for the first time, just submit a Pull Request and our CLA Bot will give you instructions on how to sign the CLA before merging your Pull Request.
All contributors must sign an Individual Contributor License Agreement.
If contributing on behalf of your company, your company must sign a Corporate Contributor License Agreement. If so, please contact us via [email protected].
If for any reason, your first contribution is in a PR created by other contributor, please just add a comment to the PR with the following text to agree our CLA: "I have read the CLA Document and I hereby sign the CLA".