watchtower/internal/actions
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.
2021-06-24 00:36:33 +02:00
..
mocks Pre-update lifecycle hook (#793) 2021-06-24 00:36:33 +02:00
actions_suite_test.go Prometheus support (#450) 2021-01-06 22:28:32 +01:00
check.go fix depends on behavior and simplify some of its logic (#908) 2021-04-18 18:37:35 +02:00
update.go Pre-update lifecycle hook (#793) 2021-06-24 00:36:33 +02:00
update_test.go Pre-update lifecycle hook (#793) 2021-06-24 00:36:33 +02:00