mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-24 02:17:00 +08:00
fix ci
This commit is contained in:
parent
9d00396bc8
commit
5d099fcae1
2 changed files with 4 additions and 1 deletions
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
|
@ -27,7 +27,6 @@ jobs:
|
||||||
|
|
||||||
- name: Build rule configuration
|
- name: Build rule configuration
|
||||||
run: |
|
run: |
|
||||||
gem install liquid-cli
|
|
||||||
cat _data/rules.yml | yq -I 0 -o json > _data/rules.json
|
cat _data/rules.yml | yq -I 0 -o json > _data/rules.json
|
||||||
|
|
||||||
for service in $(cat _data/rules.json | jq -r '.groups[].services[] | @base64'); do
|
for service in $(cat _data/rules.json | jq -r '.groups[].services[] | @base64'); do
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,8 @@ The project is community-driven. Most contributions are PRs adding or updating r
|
||||||
|
|
||||||
## Rules YAML Structure
|
## Rules YAML Structure
|
||||||
|
|
||||||
|
Services are listed in README.md.
|
||||||
|
|
||||||
`_data/rules.yml` hierarchy:
|
`_data/rules.yml` hierarchy:
|
||||||
```
|
```
|
||||||
groups:
|
groups:
|
||||||
|
|
@ -43,6 +45,8 @@ groups:
|
||||||
"<comment>"
|
"<comment>"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Services are grouped in category. If you are not sure about the classification, ask the developer.
|
||||||
|
|
||||||
## Running Locally
|
## Running Locally
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue