Files
cluster/packages/scripts/teardown_all.sh
2025-08-15 18:59:10 -04:00

14 lines
369 B
Bash

#!/usr/bin/env sh
echo "WARNING: This will destroy all local deployments."
echo -n "Are you sure you want to proceed? (y/N): "
read -r response
if [[ ! "$response" =~ ^[Yy]$ ]]; then
echo "Teardown cancelled."
exit 0
fi
(cd deploy/dev/cluster && bun run destroy)
(cd deploy/dev/components && bun run destroy)
(cd deploy/dev/configurations && bun run destroy)