You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
watchtower/pkg/container
yrien30 145fe6dbcb
Pre-update lifecycle hook (#793)
* Make watchtower skip update if pre-update lifecycle hook exits with a non-zero exit code
#649

* Make watchtower skip update if pre-update lifecycle hook exits with a non-zero exit code
#649

* Make watchtower skip update if pre-update lifecycle hook exits with a non-zero exit code
#649

* Make watchtower skip update if pre-update lifecycle hook exits with a non-zero exit code
#649

* Make watchtower skip update if pre-update lifecycle hook exits with a non-zero exit code #649

* Make watchtower skip update if pre-update lifecycle hook exits with a non-zero exit code #649

* Make watchtower skip update if pre-update lifecycle hook exits with a non-zero exit code #649

* Prevent starting new container if old one is not stopped because of lifecycle hook.

* Add null check for c.containerInfo.State in IsRunning

* Fixed that the container would not start

* Added test for preupdate

* EX_TEMPFAIL -> ExTempFail

* Added missing fuction ouput names

* Skip preupdate when container is restarting.
3 years ago
..
mocks Allow watchtower to update rebooting containers (#651) 4 years ago
client.go Pre-update lifecycle hook (#793) 3 years ago
container.go Pre-update lifecycle hook (#793) 3 years ago
container_suite_test.go fix: merge artifacts and broken shoutrrr tests (#929) 3 years ago
container_test.go feat: check container config before update (#925) 3 years ago
errors.go feat: check container config before update (#925) 3 years ago
metadata.go Monitor-only for individual containers (#652) 4 years ago
util.go feat(log): use short image/container IDs in logs (#888) 4 years ago
util_test.go feat(log): use short image/container IDs in logs (#888) 4 years ago