Skip to content

Commit

Permalink
test: add rev-parse into gitRef (#4170)
Browse files Browse the repository at this point in the history
  • Loading branch information
njtran committed Jun 29, 2023
1 parent 471148a commit 58e7676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/e2e/install-prometheus/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ runs:
--set prometheus.prometheusSpec.additionalScrapeConfigs[0].relabel_configs[0].target_label=clusterName \
--set prometheus.prometheusSpec.additionalScrapeConfigs[0].relabel_configs[0].replacement=${{ inputs.cluster_name }} \
--set prometheus.prometheusSpec.additionalScrapeConfigs[0].relabel_configs[1].target_label=gitRef \
--set prometheus.prometheusSpec.additionalScrapeConfigs[0].relabel_configs[1].replacement=${{ inputs.git_ref }} \
--set prometheus.prometheusSpec.additionalScrapeConfigs[0].relabel_configs[1].replacement=$(git rev-parse HEAD) \
--set prometheus.prometheusSpec.additionalScrapeConfigs[0].relabel_configs[2].target_label=mostRecentTag \
--set prometheus.prometheusSpec.additionalScrapeConfigs[0].relabel_configs[2].replacement=$(git describe --abbrev=0 --tags) \
--set prometheus.prometheusSpec.additionalScrapeConfigs[0].relabel_configs[3].target_label=commitsAfterTag \
Expand Down

0 comments on commit 58e7676

Please sign in to comment.