fix: wait for healthy deployment services
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-10 02:09:25 -04:00
parent 0cd1b9ff2c
commit e069dcaa40
4 changed files with 20 additions and 8 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
set -eu
deploy_script=$(cat scripts/deploy-production.sh)
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' 'deployment health wait tests passed'