Merge pull request #60850 from ClickHouse/ci_fix_build_report_for_backport_branch

CI: Fix pending status for build report in backports
This commit is contained in:
Max K 2024-03-05 12:27:54 +01:00 committed by GitHub
commit 5d115dc438
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ def main():
builds_for_check = CI_CONFIG.get_builds_for_report(
build_check_name,
release=pr_info.is_release(),
backport=pr_info.head_ref.startswith("backport"),
backport=pr_info.head_ref.startswith("backport/"),
)
required_builds = len(builds_for_check)
missing_builds = 0

View File

@ -586,7 +586,7 @@ class CIConfig:
Build.PACKAGE_TSAN,
Build.PACKAGE_DEBUG,
]
if release and report_name == JobNames.BUILD_CHECK_SPECIAL:
if (release or backport) and report_name == JobNames.BUILD_CHECK_SPECIAL:
return [
Build.BINARY_DARWIN,
Build.BINARY_DARWIN_AARCH64,