From 0b2c2741320ac542ccb3e744e8849ca4767e49ae Mon Sep 17 00:00:00 2001 From: Nikita Taranov Date: Mon, 18 Mar 2024 17:45:23 +0000 Subject: [PATCH] write docker tag --- tests/ci/ci.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/ci/ci.py b/tests/ci/ci.py index c5fa67a66cd..f2e0828082c 100644 --- a/tests/ci/ci.py +++ b/tests/ci/ci.py @@ -1618,6 +1618,7 @@ def _add_build_to_version_history( job_report: JobReport, git_ref: str, version: str, + docker_tag: str, ch_helper: ClickHouseHelper, ) -> None: # with some probability we will not silently break this logic @@ -1630,6 +1631,7 @@ def _add_build_to_version_history( "commit_sha": pr_info.sha, "commit_url": pr_info.commit_html_url, "version": version, + "docker_tag": docker_tag, "git_ref": git_ref, } @@ -2019,9 +2021,14 @@ def main() -> int: db="default", table="checks", events=prepared_events ) - if args.job_name == "DockerServerImageRelease" and indata is not None: + if "DockerServerImage" in args.job_name and indata is not None: _add_build_to_version_history( - pr_info, job_report, indata["git_ref"], indata["version"], ch_helper + pr_info, + job_report, + indata["git_ref"], + indata["version"], + indata["build"], + ch_helper, ) else: # no job report