Skip to content

Commit

Permalink
.github: test what is the hostname of gh action runner
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom authored Jan 31, 2022
1 parent 854f2b5 commit 548d241
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/prometheusrule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
go-version: '${{ env.golang-version }}'
- run: go install github.com/brancz/gojsontoyaml@latest
#- run: go get -u github.com/prometheus/prometheus/cmd/promtool
- run: |
echo "HOSTNAME: $HOSTNAME"
- name: Download latest release of promtool
run: |
VERSION=$(curl -s https://api.github.com/repos/prometheus/prometheus/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}' | sed 's/v//')
Expand Down

0 comments on commit 548d241

Please sign in to comment.