fix: retain loss evidence and fail interrupted deployments

This commit is contained in:
Thomas Durieux committed 2026-11-15 13:52:05 +00:00
1 parent 0f9d8c657a
commit d99a9587f7
5 files changed
+48 -10

No files matched your search

+3
View File
@@ -53,6 +53,9 @@ deployment_finished() {
exit "$code"
}
trap deployment_finished EXIT
trap 'exit 129' HUP
trap 'exit 130' INT
trap 'exit 143' TERM
deployment_event start started 0
image_id() { docker image inspect --format '{{.Id}}' "$1" 2>/dev/null || true; }