mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
If a snap build times out, dump the logs
This commit is contained in:
parent
6e1696ba32
commit
b1074fca39
1 changed files with 6 additions and 0 deletions
|
|
@ -253,6 +253,12 @@ def main():
|
|||
process.join(args.timeout)
|
||||
|
||||
if process.is_alive():
|
||||
for target in targets:
|
||||
if target == 'certbot':
|
||||
workspace = CERTBOT_DIR
|
||||
else:
|
||||
workspace = join(CERTBOT_DIR, target)
|
||||
_dump_failed_build_logs(target, archs, status, workspace)
|
||||
raise ValueError(f"Timeout out reached ({args.timeout} seconds) during the build!")
|
||||
|
||||
build_success = True
|
||||
|
|
|
|||
Loading…
Reference in a new issue