Skip to content

Commit

Permalink
[semver:patch] fixes install_promtool command (#8)
Browse files Browse the repository at this point in the history
fixes the install_promtool command as suggested on prometheus/prometheus#8480
  • Loading branch information
dgeorges committed Mar 3, 2021
1 parent c8e5268 commit 01cfed2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions README.md
Expand Up @@ -29,3 +29,15 @@ For Contributions please read [CONTRIBUTING.md](CONTRIBUTING.md).
Example: `[semver:major]`

* On Squash and merge. Ensure the semver tag is preserved and entered as a part of the commit message.

## FAQ

### 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
```

2 changes: 1 addition & 1 deletion src/commands/install_promtool.yml
Expand Up @@ -5,7 +5,7 @@ steps:
command: |
if ! command -v promtool --version >/dev/null 2>&1 ; then
echo installing promtool
go get github.com/prometheus/prometheus/cmd/promtool
go get github.com/prometheus/prometheus/cmd/promtool@master
else
echo promtool already exist. skipping install.
fi
Expand Down

0 comments on commit 01cfed2

Please sign in to comment.