-
Notifications
You must be signed in to change notification settings - Fork 883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pre-update lifecycle hook #793
Conversation
… non-zero exit code containrrr#649
… non-zero exit code containrrr#649
… non-zero exit code containrrr#649
… non-zero exit code containrrr#649
… non-zero exit code containrrr#649
… non-zero exit code containrrr#649
… non-zero exit code containrrr#649
Codecov Report
@@ Coverage Diff @@
## main #793 +/- ##
==========================================
+ Coverage 54.47% 55.38% +0.91%
==========================================
Files 25 25
Lines 1452 1466 +14
==========================================
+ Hits 791 812 +21
+ Misses 594 590 -4
+ Partials 67 64 -3
Continue to review full report at Codecov.
|
How can I help out? 👀 Just testing? |
Great if you could test it and maybe come whit suggestion on improving the documentation. I'm also not sure if there should be a own flag for skipping the lifecycle hooks when the container is stoped or restarting. |
I have uploaded it to ghcr.io. So If anyone would test it then you will find it here Its build for arm64. |
Awesome! Thanks for your contribution! I can't review it right now, but will get back to it as soon as possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does look good in general, but there really ought to be tests for the functionality.
Also, some run go fmt
to fix things like spaces between arguments.
I have added some test and run |
Any chance to get an update on whether this could be merged or need more work? |
Without tests, this is a 100 LoC change that several people clearly care about. Thanks to @yrien30 for putting this PR together. As a show of good faith, I've started sponsoring https://github.com/sponsors/simskij If this could be reviewed, merged, and released sometime soon, that would be greatly appreciated. |
LGTM! Thanks for the contribution! Let's try this in |
Will close #649