mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
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:
commit
c74924f322
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user