mirror of
git://f0xx.org/ac/ac-deploy
synced 2026-07-29 06:58:52 +03:00
Cluster ops: tolerate hub platform stub; auto-clean dirty submodules.
Add sync-cluster-scripts.sh for NFS /shared/cluster updates from /mnt/repos/ac. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
committed by
Anton Afanasyeu
parent
4d2db29b8b
commit
6c2403aae9
@@ -50,8 +50,12 @@ if [ -d "${LEGACY}/.git" ]; then
|
||||
log "FAIL legacy monolith present at $LEGACY ($_url) — run purge-legacy-monolith.sh"
|
||||
FAIL=1
|
||||
elif [ -e "$LEGACY" ]; then
|
||||
log "FAIL legacy path still exists at $LEGACY (not a git checkout)"
|
||||
FAIL=1
|
||||
if [ -d "${LEGACY}/examples/platform" ] && [ ! -d "${LEGACY}/.git" ]; then
|
||||
log "OK hub platform stub at ${LEGACY}/examples/platform (not monolith)"
|
||||
else
|
||||
log "FAIL legacy path still exists at $LEGACY (not a git checkout)"
|
||||
FAIL=1
|
||||
fi
|
||||
else
|
||||
log "OK no legacy monolith at $LEGACY"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user