mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
Fixes #8169 This PR improves snaps remote builds script by dumping the output of `snapcraft remote-build` when unexpected behavior is detected: * when all builds for a project finish with a zero status code, and none of them are marked as failed, we expect to have all the associated snap files available locally. * when some builds are marked as failed, we expect to have a build output for each of them available locally. In these two situations, if the expectation are not matched, then the script will display the output of `snapcraft remote-build` itself. I added also a control error to handle nicely the absence of an expected build output on the local machine. * Improve log dump in snaps remote builds when an unexpected behavior is detected * Use the manager * Update tools/snap/build_remote.py Co-authored-by: Brad Warren <bmw@users.noreply.github.com>