test: harden lighthouse mirror fail-closed checks
This commit is contained in:
parent
b1533ef23a
commit
4f24edc3b2
4 changed files with 22 additions and 4 deletions
|
|
@ -2,6 +2,7 @@
|
|||
canonical='/Volumes/JZAO/HoloLake/persona-runtime/repo-012-main'
|
||||
current=$(git rev-parse --show-toplevel 2>/dev/null) || exit 0
|
||||
[ "$current" = "$canonical" ] || exit 0
|
||||
/usr/bin/python3 "$canonical/server-tools/tcs-mother-root-agent/tcs_mother_root_agent.py" refresh --repo "$canonical" --trigger git-post-commit >/dev/null 2>&1 || true
|
||||
/usr/bin/python3 "$canonical/server-tools/fifth-domain-lighthouse-mirror/public_mirror_agent.py" sync-architecture --repo "$canonical" >/dev/null 2>&1 || true
|
||||
if /usr/bin/python3 "$canonical/server-tools/tcs-mother-root-agent/tcs_mother_root_agent.py" refresh --repo "$canonical" --trigger git-post-commit >/dev/null 2>&1; then
|
||||
/usr/bin/python3 "$canonical/server-tools/fifth-domain-lighthouse-mirror/public_mirror_agent.py" sync-architecture --repo "$canonical" >/dev/null 2>&1 || true
|
||||
fi
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue