This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhanced Update Process with Improved Logging, Error Handling, and Su…
…ccess Criteria (#148) [Features] - Add logs to update failures - - Full logs for --verbose - - Logs limited to 500 characters for non-verbose [Improvements] - Attempt fix towards updates reporting they failed, when they have not - - Specifically handle middlewared timeouts, which is usually the cause of these false reports - Print better error messages for updating, such as: - - If the command itself times out, say so, and recommend a higher --timeout - - If middlewared consistently times out, recommend a lower number of concurrent updates - - If snapshots preventing updates are not being deleted, state that - - Otherwise print out an error for the user - If the update command returns that there is no update available, report that as a successful update [Other] - Remove restart container logic after updating container images - Do not self update if -h or --help is called, in any context. - Change "Removed Docker Images" to just "Removed Images".
- Loading branch information
1 parent
59d3e6e
commit fa4e00e
Showing
4 changed files
with
122 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters