feat(mcp): подготовить сервер и доступ к приёмке
This commit is contained in:
commit
bf3d50e1ff
3835 files changed
+537122
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
bash -n "${ROOT}/entrypoint.sh"
|
||||
|
||||
jq -e '.targets | type == "array" and length > 0' "${ROOT}/targets.json.example" >/dev/null
|
||||
|
||||
for target in backend frontend; do
|
||||
jq -e --arg target "$target" '.targets[] | select(.id == $target) | .image and .container_name and .health.url' \
|
||||
"${ROOT}/targets.json.example" >/dev/null
|
||||
done
|
||||
|
||||
printf 'updater validation passed\n'
|
||||
Reference in new issue
Block a user