mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-06-21 10:31:13 +00:00
a7b3e60716
ci/woodpecker/push/02-build-push Pipeline failed
- Added `.env.test` to `.gitignore` to exclude test environment variables. - Enhanced `docker-compose.test.jetson.yml` to include the real satellite-provider .NET service and its PostgreSQL database, replacing the mock service. - Updated test execution policy to mandate all tests run exclusively on Jetson hardware, deprecating the previous two-tier model. - Revised documentation in `_docs/LESSONS.md`, `_docs/02_document/tests/environment.md`, and `_docs/04_deploy/ci_cd_pipeline.md` to reflect the new testing strategy and environment setup. - Improved `run-tests-jetson.sh` script to ensure proper environment variable handling and satellite-provider integration. This commit aligns the testing framework with production environments, enhancing reliability and coverage.
26 lines
1.1 KiB
Bash
26 lines
1.1 KiB
Bash
# AZ-688: dev-only environment for the Jetson e2e harness.
|
|
# Jetson-only test policy (2026-05-20) — see _docs/LESSONS.md.
|
|
#
|
|
# Copy this file to `.env.test` and customize. NEVER commit `.env.test`
|
|
# (gitignored). Sourced by `scripts/run-tests-jetson.sh` before
|
|
# `docker compose up`.
|
|
|
|
# Suite JWT contract — see ../_docs/10_auth.md. The same secret signs the
|
|
# dev JWT (AZ-690) and validates it at the satellite-provider boundary.
|
|
# MUST be ≥ 32 bytes UTF-8. Generate a fresh value with:
|
|
# openssl rand -hex 32
|
|
JWT_SECRET=DEV-ONLY-REPLACE-WITH-OPENSSL-RAND-HEX-32-OUTPUT-XXXXXXX
|
|
|
|
# JWT issuer / audience claims. Dev-only values that ONLY validate against
|
|
# the dev secret above. Production deploys MUST use real values provided
|
|
# by the admin team (the admin API stamps `iss`; satellite-provider
|
|
# validates `aud`).
|
|
JWT_ISSUER=DEV-ONLY-iss-admin-azaion-local
|
|
JWT_AUDIENCE=DEV-ONLY-aud-satellite-provider
|
|
|
|
# Google Maps Platform key. Left empty: AZ-689 seeds local fixture tiles
|
|
# instead, so the hermetic Derkachi e2e flow never calls GoogleMaps. If
|
|
# you need to exercise the real GMaps tile-download path, set this to a
|
|
# valid key.
|
|
GOOGLE_MAPS_API_KEY=
|