mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-06-22 19:21:13 +00:00
Update demo replay validation and testing documentation
ci/woodpecker/push/02-build-push Pipeline failed
ci/woodpecker/push/02-build-push Pipeline failed
- Modified the autodev state to reflect the current testing phase and details of the new `jetson-e2e` tests. - Enhanced the "How to Test" documentation to provide clearer instructions on the demo replay validation process, including video and tlog alignment steps. - Updated architectural documentation to include the new demo replay operator flow and its dependencies. - Documented the removal of deprecated auto-sync features and clarified the operator-facing UI for replay validation. - Added new entries in the dependencies table for upcoming tasks related to the demo replay flow. These changes improve clarity and usability for operators and developers working with the demo replay system.
This commit is contained in:
@@ -150,6 +150,16 @@ echo "[run-tests-jetson] compose file: ${COMPOSE_FILE}"
|
||||
echo "[run-tests-jetson] ensure-dev-cert (local)"
|
||||
bash "${SCRIPT_DIR}/ensure-dev-cert.sh"
|
||||
|
||||
DERKACHI_MP4="${REPO_ROOT}/_docs/00_problem/input_data/flight_derkachi/flight_derkachi.mp4"
|
||||
if [[ -f "${DERKACHI_MP4}" ]]; then
|
||||
mp4_bytes=$(wc -c < "${DERKACHI_MP4}" | tr -d ' ')
|
||||
if [[ "${mp4_bytes}" -lt 1000000 ]]; then
|
||||
echo "[run-tests-jetson] ERROR: ${DERKACHI_MP4} is ${mp4_bytes} bytes — looks like a Git LFS pointer." >&2
|
||||
echo "[run-tests-jetson] Run 'git lfs pull' (or copy the real mp4) before rsyncing to Jetson." >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Step 1: sync source
|
||||
|
||||
@@ -209,12 +219,14 @@ rsync -az --delete --stats \
|
||||
"${SATPROV_DIR}/" "${SSH_ALIAS}:${REMOTE_SATPROV_DIR}/"
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Step 2: build the e2e-runner + satellite-provider images on the Jetson
|
||||
# Step 2: build the e2e-runner image on the Jetson
|
||||
|
||||
# Both images MUST be built on the Jetson — Dockerfile.jetson needs Tegra
|
||||
# libs, and the .NET dotnet-sdk image is multi-arch but only the arm64
|
||||
# variant is on the Orin.
|
||||
echo "[run-tests-jetson] docker compose build (on Jetson)"
|
||||
# Dockerfile.jetson needs Tegra libs, so e2e-runner MUST be built on-device.
|
||||
# satellite-provider is NOT rebuilt here: the parent-suite image now compiles
|
||||
# gRPC protos (AZ-977) and protoc segfaults on arm64 inside dotnet-sdk
|
||||
# (exit 139). The cached gps-denied-onboard/satellite-provider:dev image is
|
||||
# used as-is until AZ-977 ships an arm64-safe build path.
|
||||
echo "[run-tests-jetson] docker compose build e2e-runner (on Jetson)"
|
||||
# The compose `include:` resolves the upstream env vars from the shell, so
|
||||
# pass JWT_SECRET / JWT_ISSUER / JWT_AUDIENCE / GOOGLE_MAPS_API_KEY through
|
||||
# the heredoc as explicit exports. (We can't rely on `ssh -o SendEnv` —
|
||||
@@ -228,7 +240,7 @@ export JWT_AUDIENCE=${JWT_AUDIENCE_Q}
|
||||
export GOOGLE_MAPS_API_KEY=${GOOGLE_MAPS_API_KEY_Q}
|
||||
export SATELLITE_PROVIDER_API_KEY=${SATELLITE_PROVIDER_API_KEY_Q}
|
||||
cd "${REMOTE_DIR}"
|
||||
docker compose -f "${COMPOSE_FILE}" build e2e-runner satellite-provider
|
||||
docker compose -f "${COMPOSE_FILE}" build e2e-runner
|
||||
EOF
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user