A Circleci orb for the Prometheus cli tools promtool
and amtool
. Useful for CI/CD of the Prometheus configuration files.
CircleCI Orb Registry Page - The official registry page of this orb for all versions, executors, commands, and jobs described. CircleCI Orb Docs - Docs for using and creating CircleCI Orbs.
We welcome issues to this repository! For Contributions please read CONTRIBUTING.md.
- Create and push a branch with your new features.
- When ready to publish a new production version, create a Pull Request from feature branch to
master
. - The title of the pull request must contain a special semver tag:
[semver:<segement>]
where<segment>
is replaced by one of the following values.
Increment | Description |
---|---|
major | Issue a 1.0.0 incremented release |
minor | Issue a x.1.0 incremented release |
patch | Issue a x.x.1 incremented release |
skip | Do not issue a release |
Example: [semver:major]
- On Squash and merge. Ensure the semver tag is preserved and entered as a part of the commit message.
The circleci build fails with the error The dev version of onemedical/prometheus-tools@dev:alpha has expired.
To fix this run the following commands:
circleci orb pack --skip-update-check src > orb.yml
circleci orb validate orb.yml
circleci orb publish orb.yml onemedical/prometheus-tools@dev:alpha