mirror of
https://github.com/seemueller-io/cluster.git
synced 2025-09-08 22:56:46 +00:00
Development environment functions
This commit is contained in:
14
packages/scripts/teardown_all.sh
Normal file
14
packages/scripts/teardown_all.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/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)
|
Reference in New Issue
Block a user