From 166cd20a9bc2b1ce04a9ef0bd6341657026226fb Mon Sep 17 00:00:00 2001 From: Vasily Nemkov Date: Mon, 25 Dec 2023 18:42:31 +0100 Subject: [PATCH] Using 'gh-data' instead of 'default' for CI/CD events reporting --- tests/ci/build_check.py | 2 +- tests/ci/install_check.py | 2 +- tests/ci/sqlancer_check.py | 2 +- tests/ci/sqltest.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/ci/build_check.py b/tests/ci/build_check.py index e0bd37181a34..2ea3ae75a0ee 100644 --- a/tests/ci/build_check.py +++ b/tests/ci/build_check.py @@ -491,7 +491,7 @@ def main(): log_url, f"Build ({build_name})", ) - ch_helper.insert_events_into(db="default", table="checks", events=prepared_events) + ch_helper.insert_events_into(db="gh-data", table="checks", events=prepared_events) # Fail the build job if it didn't succeed if build_status != SUCCESS: diff --git a/tests/ci/install_check.py b/tests/ci/install_check.py index 44bb4c2ffd09..fa045df7d73a 100644 --- a/tests/ci/install_check.py +++ b/tests/ci/install_check.py @@ -372,7 +372,7 @@ def filter_artifacts(path: str) -> bool: args.check_name, ) - ch_helper.insert_events_into(db="default", table="checks", events=prepared_events) + ch_helper.insert_events_into(db="gh-data", table="checks", events=prepared_events) if state == FAILURE: sys.exit(1) diff --git a/tests/ci/sqlancer_check.py b/tests/ci/sqlancer_check.py index f14949e3b8a4..ebe46bc9502c 100644 --- a/tests/ci/sqlancer_check.py +++ b/tests/ci/sqlancer_check.py @@ -160,7 +160,7 @@ def main(): report_url, check_name, ) - ch_helper.insert_events_into(db="default", table="checks", events=prepared_events) + ch_helper.insert_events_into(db="gh-data", table="checks", events=prepared_events) if __name__ == "__main__": diff --git a/tests/ci/sqltest.py b/tests/ci/sqltest.py index 0fa19447946f..10b13ca8ffe9 100644 --- a/tests/ci/sqltest.py +++ b/tests/ci/sqltest.py @@ -146,7 +146,7 @@ def main(): check_name, ) - ch_helper.insert_events_into(db="default", table="checks", events=prepared_events) + ch_helper.insert_events_into(db="gh-data", table="checks", events=prepared_events) logging.info("Result: '%s', '%s', '%s'", status, description, report_url) print(f"::notice ::Report url: {report_url}")