mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01:02 +00:00
.gitlab-ci.yml: Run promtool on Prometheus alerting rules (#6344)
* .gitlab-ci.yml: Run promtool on Prometheus alerting rules Add a CI stage to test the Prometheus alerting rules within `.maintain/monitoring`. * .gitlab-ci.yml: Switch Prometheus stage to paritytech/tools image * .gitlab-ci.yml: Follow http redirects in Prometheus stage * .gitlab-ci.yml: Fix Prometheus stage promtool folder name
This commit is contained in:
@@ -359,6 +359,15 @@ cargo-check-macos:
|
||||
tags:
|
||||
- osx
|
||||
|
||||
test-prometheus-alerting-rules:
|
||||
stage: test
|
||||
image: paritytech/tools:latest
|
||||
<<: *kubernetes-build
|
||||
script:
|
||||
- curl -L https://github.com/prometheus/prometheus/releases/download/v2.19.0/prometheus-2.19.0.linux-amd64.tar.gz --output prometheus.tar.gz
|
||||
- tar -xzf prometheus.tar.gz
|
||||
- ./prometheus-*/promtool check rules .maintain/monitoring/alerting-rules/alerting-rules.yaml
|
||||
|
||||
#### stage: build
|
||||
|
||||
check-polkadot-companion-status:
|
||||
|
||||
Reference in New Issue
Block a user