feat: enforce deployment environment preflight
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-10 02:32:43 -04:00
parent 96d3bf831e
commit 0008af9f2c
4 changed files with 28 additions and 2 deletions
+2
View File
@@ -7,5 +7,7 @@ rollback_script=$(cat scripts/rollback-production.sh)
printf '%s\n' "$deploy_script" | grep -F 'up -d --wait postgres redis' >/dev/null
printf '%s\n' "$deploy_script" | grep -F 'up -d --wait api worker web' >/dev/null
printf '%s\n' "$rollback_script" | grep -F 'up -d --wait api worker web' >/dev/null
printf '%s\n' "$deploy_script" | grep -F './scripts/validate-production-env.sh' >/dev/null
printf '%s\n' "$rollback_script" | grep -F './scripts/validate-production-env.sh' >/dev/null
printf '%s\n' 'deployment health wait tests passed'