mirror of
https://github.com/seemueller-io/cluster.git
synced 2025-09-08 22:56:46 +00:00
Update script paths and adjust destroy order in package scripts
This commit is contained in:
@@ -5,8 +5,9 @@
|
|||||||
"deploy/dev/components"
|
"deploy/dev/components"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"dev": "packages/scripts/run.sh",
|
||||||
"setup": "packages/scripts/setup.sh",
|
"setup": "packages/scripts/setup.sh",
|
||||||
"clean": "packages/scripts/cleanup.sh",
|
"clean": "packages/scripts/cleanup.sh",
|
||||||
"dev": "packages/scripts/dev.sh"
|
"destroy": "packages/scripts/destroy.sh"
|
||||||
}
|
}
|
||||||
}
|
}
|
5
packages/scripts/teardown_all.sh → packages/scripts/destroy.sh
Normal file → Executable file
5
packages/scripts/teardown_all.sh → packages/scripts/destroy.sh
Normal file → Executable file
@@ -9,6 +9,7 @@ if [[ ! "$response" =~ ^[Yy]$ ]]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
(cd deploy/dev/cluster && bun run destroy)
|
# Reverse Order
|
||||||
|
(cd deploy/dev/configurations && bun run destroy)
|
||||||
(cd deploy/dev/components && bun run destroy)
|
(cd deploy/dev/components && bun run destroy)
|
||||||
(cd deploy/dev/configurations && bun run destroy)
|
(cd deploy/dev/cluster && bun run destroy)
|
Reference in New Issue
Block a user