Implement native public edge cutover
This commit is contained in:
parent
d589858c03
commit
bdb9d9a95a
29 changed files with 1215 additions and 31 deletions
|
|
@ -2,6 +2,7 @@
|
|||
set -euo pipefail
|
||||
|
||||
scope="${1:-full}"
|
||||
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
units=()
|
||||
|
||||
case "$scope" in
|
||||
|
|
@ -27,6 +28,12 @@ case "$scope" in
|
|||
;;
|
||||
esac
|
||||
|
||||
case "$scope" in
|
||||
full|api|services|workers)
|
||||
"$repo_root/deployment/native/check-native-infra.sh"
|
||||
;;
|
||||
esac
|
||||
|
||||
for unit in "${units[@]}"; do
|
||||
systemctl --user is-active --quiet "$unit"
|
||||
echo "ok $unit"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue