#!/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'