[AZ-844] Exclude satellite-provider runtime dirs from rsync

scripts/run-tests-jetson.sh's rsync of ../satellite-provider already
excludes bin/, obj/, TestResults/, logs/, Content/ - all .gitignored
runtime artefacts on the satellite-provider side. Two more dirs from
satellite-provider/.gitignore were missing from the script: tiles/
(satellite-tile cache the container writes as root) and ready/.

Cycle-3 Step 11 Jetson e2e launch surfaced this: the satellite-provider
container had written ~408 MB of root-owned tiles to ~/satellite-
provider/tiles on the Jetson over previous runs. The rsync --delete
pass then tried to unlink those root-owned files as the unprivileged
jetson user and aborted with permission errors (exit 23) before even
reaching docker compose.

Adding tiles/ + ready/ to the rsync exclude set matches the existing
project pattern. The satellite-provider container manages its own
tile cache; the rsync should never touch it. certs/ remains included
because the upstream api container mounts /app/certs/api.pfx.

No SUT or test code change.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-05-24 14:02:35 +03:00
parent 05f1143301
commit a15a06202c
+2
View File
@@ -203,6 +203,8 @@ rsync -az --delete --stats \
--exclude='*.user' \ --exclude='*.user' \
--exclude=logs/ \ --exclude=logs/ \
--exclude=Content/ \ --exclude=Content/ \
--exclude=tiles/ \
--exclude=ready/ \
--exclude=.DS_Store \ --exclude=.DS_Store \
"${SATPROV_DIR}/" "${SSH_ALIAS}:${REMOTE_SATPROV_DIR}/" "${SATPROV_DIR}/" "${SSH_ALIAS}:${REMOTE_SATPROV_DIR}/"