feat(deploy): print last logs from new container when fails to become healthy

This commit is contained in:
Pasha Sviderski
2026-04-22 13:45:09 +10:00
parent 8afe52367f
commit 303c8e4506
3 changed files with 76 additions and 24 deletions
+4
View File
@@ -24,6 +24,10 @@ type PreDeployHookError struct {
MachineName string
}
func (e *PreDeployHookError) Unwrap() error {
return e.error
}
// DefaultPreDeployTimeout is the maximum duration to wait for a pre-deploy hook container to complete.
const DefaultPreDeployTimeout = 5 * time.Minute