Merge pull request #70314 from ClickHouse/backport/24.8/70294

Backport #70294 to 24.8: CI: Remove await feature from release branches
This commit is contained in:
robot-ch-test-poll3 2024-10-03 14:13:05 +02:00 committed by GitHub
commit c74924f322
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1140,12 +1140,15 @@ def main() -> int:
if IS_CI and not pr_info.is_merge_queue:
if pr_info.is_release and pr_info.is_push_event:
if pr_info.is_master and pr_info.is_push_event:
print("Release/master: CI Cache add pending records for all todo jobs")
ci_cache.push_pending_all(pr_info.is_release)
# wait for pending jobs to be finished, await_jobs is a long blocking call
ci_cache.await_pending_jobs(pr_info.is_release)
if pr_info.is_master or pr_info.is_pr:
# - wait for pending jobs to be finished, await_jobs is a long blocking call
# - don't wait for release CI because some jobs may not be present there
# and we may wait until timeout in vain
ci_cache.await_pending_jobs(pr_info.is_release)
# conclude results
result["git_ref"] = git_ref