-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (28 loc) · 1.27 KB
/
alerts.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Test alerts
on:
push:
branches-ignore:
- development/**
- q/*/**
jobs:
run-alert-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Render and test count-items-cronjob
uses: scality/[email protected]
with:
alert_file_path: monitoring/count-items-cronjob/alerts.yaml
test_file_path: monitoring/count-items-cronjob/alerts.test.yaml
alert_inputs: >-
namespace=zenko,count_items_cronjob=artesca-data-ops-count-items,count_items_job_duration_threshold=86400
github_token: ${{ secrets.GIT_ACCESS_TOKEN }}
- name: Render and test update-bucket-capacity-info-cronjob
uses: scality/[email protected]
with:
alert_file_path: monitoring/update-bucket-capacity-info-cronjob/alerts.yaml
test_file_path: monitoring/update-bucket-capacity-info-cronjob/alerts.test.yaml
alert_inputs: >-
namespace=zenko,update_bucket_capacity_info_cronjob=artesca-data-ops-update-bucket-capacity-info,update_bucket_capacity_info_job_duration_threshold=240,update_bucket_capacity_info_success_job_existence_duration_threshold=600
github_token: ${{ secrets.GIT_ACCESS_TOKEN }}