Answer principles round 2: 0 🔴, 1 🟡 (0 misread); remove ci.sh's container when a patch cut stops it, show task-bench's count defaults where they apply, and take ci.sh's bound from the forge's wait
CI / tests (pull_request) Successful in 4m47s
CI / tests (pull_request) Successful in 4m47s
This commit is contained in:
@@ -70,7 +70,7 @@ import shlex
|
||||
import sys
|
||||
import time
|
||||
|
||||
from deploy_release.ci_script import ci_runner, CI_SECONDS
|
||||
from deploy_release.ci_script import ci_runner, CI_SECONDS, removed_container
|
||||
from deploy_release.cut import cut
|
||||
from deploy_release.patch import cut_patch
|
||||
from deploy_release.deploy import deploy
|
||||
@@ -104,7 +104,7 @@ def main(argv: list[str]) -> int:
|
||||
file = None if isinstance(begun, Failure) else begun
|
||||
say = trace.saying(file, now, sys.stderr)
|
||||
if commits is not None:
|
||||
moved = cut_patch(clone, checkout, commits, time.sleep, say, ci_runner(folder / f"{name}-ci.log", CI_SECONDS, say))
|
||||
moved = cut_patch(clone, checkout, commits, time.sleep, say, ci_runner(folder / f"{name}-ci.log", CI_SECONDS, say, f"deploy-release-ci-{name}", removed_container))
|
||||
else:
|
||||
moved = cut(clone, checkout, time.sleep, say)
|
||||
if isinstance(moved, Failure):
|
||||
|
||||
Reference in New Issue
Block a user