mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-06-21 10:11:12 +00:00
bf13549b32
ci/woodpecker/push/02-build-push Pipeline failed
- Enhanced `.env.example` with detailed CMake build flags and replay-mode strategy flags for development and CI environments. - Updated `.gitignore` to include a new deploy rollback bookmark. - Revised `_docs/_autodev_state.md` to reflect the current task status and steps. - Added new lessons to `_docs/LESSONS.md` regarding testing and architectural improvements. - Documented changes in `_docs/02_document/deployment/ci_cd_pipeline.md` to reflect the relaxed OpenCV version pin. - Updated test data documentation in `_docs/02_document/tests/test-data.md` to clarify fixture usage and paths. This commit continues the cycle-1 documentation sync and addresses various configuration updates for improved clarity and functionality.
54 lines
2.1 KiB
Bash
54 lines
2.1 KiB
Bash
# gps-denied-onboard — environment variables
|
|
# See _docs/02_document/module-layout.md and AZ-263_initial_structure.md § Environment Variables.
|
|
|
|
# Required: selects the FC adapter at the composition root.
|
|
# One of: ardupilot_plane | inav
|
|
GPS_DENIED_FC_PROFILE=ardupilot_plane
|
|
|
|
# Required: runtime tier gate; 1=workstation/CI, 2=Jetson production
|
|
GPS_DENIED_TIER=1
|
|
|
|
# Required: Postgres connection used by C6 (tile cache + descriptor index)
|
|
DB_URL=postgresql://gps_denied:dev@db:5432/gps_denied
|
|
|
|
# Required (dev/operator only): satellite-provider base URL for tile download
|
|
# Not set in flight (no egress)
|
|
SATELLITE_PROVIDER_URL=http://mock-sat:5100
|
|
|
|
# Required: path to JSON camera calibration loaded at startup
|
|
CAMERA_CALIBRATION_PATH=/fixtures/calibration/adti26.json
|
|
|
|
# Required: structured log level (DEBUG | INFO | WARNING | ERROR)
|
|
LOG_LEVEL=DEBUG
|
|
|
|
# Required: structured log sink (console | journald | fdr)
|
|
LOG_SINK=console
|
|
|
|
# Required (production): per-flight MAVLink 2.0 signing key path
|
|
# Dev key from tests/fixtures/mavlink_signing/dev_key in dev-tier1.
|
|
MAVLINK_SIGNING_KEY=tests/fixtures/mavlink_signing/dev_key
|
|
|
|
# CMake / runtime BUILD_* gating flags
|
|
# Defaults below match the airborne deployment binary (ADR-002 / ADR-011).
|
|
# Strategy flags use OFF for opt-in non-default strategies; ON for the
|
|
# deployment defaults that the runtime expects to be linked.
|
|
BUILD_VINS_MONO=OFF
|
|
BUILD_SALAD=OFF
|
|
BUILD_C11_TILE_MANAGER=OFF
|
|
# Replay-mode strategy flags (ADR-011) — must be ON in the airborne and
|
|
# research binaries so replay can run from the same image. The CI test
|
|
# compose files already set these explicitly; production sets them ON.
|
|
# BUILD_VIDEO_FILE_FRAME_SOURCE=ON
|
|
# BUILD_TLOG_REPLAY_ADAPTER=ON
|
|
# BUILD_REPLAY_SINK_JSONL=ON
|
|
# Dev-only: enables `signing_key_source='dev_static'` on the AP FC adapter.
|
|
# MUST stay OFF on production images; ON only in dev/CI containers.
|
|
# BUILD_DEV_STATIC_KEY=OFF
|
|
|
|
# Required: C7 inference backend (tensorrt | pytorch_fp16 | onnx_trt_ep)
|
|
INFERENCE_BACKEND=pytorch_fp16
|
|
|
|
# Required: filesystem paths for runtime artifacts
|
|
FDR_PATH=/var/lib/gps-denied/fdr
|
|
TILE_CACHE_PATH=/var/lib/gps-denied/tiles
|