diff options
| author | Kirill Rysin <[email protected]> | 2024-06-08 19:24:10 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-08 17:24:10 +0000 |
| commit | cbcee71d2c4e6a782bdfdbf478cc63ef821c62ec (patch) | |
| tree | 09ab550214103080e1acf3b3290fc77d096cc1ac /.github/scripts | |
| parent | 5e75d5b3fe3c7ec0c7d27d050c417dd1f48e7f75 (diff) | |
new qa db for analytics actions (#5356)
Diffstat (limited to '.github/scripts')
| -rwxr-xr-x | .github/scripts/send_build_stats.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/scripts/send_build_stats.py b/.github/scripts/send_build_stats.py index b1f52da3412..73496cd3457 100755 --- a/.github/scripts/send_build_stats.py +++ b/.github/scripts/send_build_stats.py @@ -8,6 +8,8 @@ import subprocess YDBD_PATH = "ydb/apps/ydbd/ydbd" +DATABASE_PATH = "/ru-central1/b1ggceeul2pkher8vhb6/etnvsjbk7kh1jc6bbfi8" +DATABASE_ENDPOINT = "grpcs://lb.etnvsjbk7kh1jc6bbfi8.ydb.mdb.yandexcloud.net:2135" FROM_ENV_COLUMNS = [ "github_head_ref", @@ -62,8 +64,8 @@ def main(): return 0 with ydb.Driver( - endpoint="grpcs://ydb.serverless.yandexcloud.net:2135", - database="/ru-central1/b1ggceeul2pkher8vhb6/etn6d1qbals0c29ho4lf", + endpoint=DATABASE_ENDPOINT, + database=DATABASE_PATH, credentials=ydb.credentials_from_env_variables() ) as driver: driver.wait(timeout=10, fail_fast=True) |
