mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Backport #70294 to 24.8: CI: Remove await feature from release branches
This commit is contained in:
parent
da0aa8c405
commit
239e7c245d
@ -1140,12 +1140,15 @@ def main() -> int:
|
|||||||
|
|
||||||
if IS_CI and not pr_info.is_merge_queue:
|
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")
|
print("Release/master: CI Cache add pending records for all todo jobs")
|
||||||
ci_cache.push_pending_all(pr_info.is_release)
|
ci_cache.push_pending_all(pr_info.is_release)
|
||||||
|
|
||||||
# wait for pending jobs to be finished, await_jobs is a long blocking call
|
if pr_info.is_master or pr_info.is_pr:
|
||||||
ci_cache.await_pending_jobs(pr_info.is_release)
|
# - 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
|
# conclude results
|
||||||
result["git_ref"] = git_ref
|
result["git_ref"] = git_ref
|
||||||
|
Loading…
Reference in New Issue
Block a user