mirror of
https://github.com/seemueller-io/cluster.git
synced 2025-09-08 22:56:46 +00:00
16 lines
386 B
Bash
Executable File
16 lines
386 B
Bash
Executable File
#!/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
|
|
|
|
# Reverse Order
|
|
(cd deploy/dev/configurations && bun run destroy)
|
|
(cd deploy/dev/components && bun run destroy)
|
|
(cd deploy/dev/cluster && bun run destroy)
|