1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00
Files
certbot/tools
Adrien Ferrand a6f2061ff7 Improve log dump in snaps remote builds when an unexpected behavior is detected. (#8173)
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>
2020-07-27 12:01:51 -07:00
..
2020-04-13 10:41:39 -07:00
2016-03-01 11:21:51 -08:00
2016-01-11 14:22:51 -08:00
2019-03-04 15:52:38 +02:00
2019-12-09 15:50:20 -05:00
2019-12-09 15:50:20 -05:00
2018-09-05 14:10:05 -07:00
2019-03-04 15:52:38 +02:00
2019-12-09 15:50:20 -05:00