blob: eddcd9a56057096d893df2e6609f001f41048e72 (
plain) (
blame)
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: Monitoring-queries-executor
on:
schedule:
- cron: "*/10 * * * *" # Every 10 min
workflow_dispatch:
inputs:
commit_sha:
type: string
default: ""
defaults:
run:
shell: bash
jobs:
main:
name: Execute monitoring queries
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
ref: ${{ inputs.commit_sha }}
- name: Setup ydb access
uses: ./.github/actions/setup_ci_ydb_service_account_key_file_credentials
with:
ci_ydb_service_account_key_file_credentials: ${{ secrets.CI_YDB_SERVICE_ACCOUNT_KEY_FILE_CREDENTIALS }}
ydb_qa_config: ${{ vars.YDB_QA_CONFIG }}
- name: Install dependencies
run: |
python3 -m pip install ydb ydb[yc]
- name: Execute monitoring queries
run: python3 .github/scripts/analytics/monitoring_queries_executor.py
|