mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 00:47:18 +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
|
||||
run: |
|
||||
gem install liquid-cli
|
||||
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
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@ The project is community-driven. Most contributions are PRs adding or updating r
|
|||
|
||||
## Rules YAML Structure
|
||||
|
||||
Services are listed in README.md.
|
||||
|
||||
`_data/rules.yml` hierarchy:
|
||||
```
|
||||
groups:
|
||||
|
|
@ -43,6 +45,8 @@ groups:
|
|||
"<comment>"
|
||||
```
|
||||
|
||||
Services are grouped in category. If you are not sure about the classification, ask the developer.
|
||||
|
||||
## Running Locally
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Reference in a new issue