mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-06-22 19:31:15 +00:00
[autodev] Update Jetson test environment and satellite-provider integration
ci/woodpecker/push/02-build-push Pipeline failed
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.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
from gps_denied_onboard.runtime_root import main
|
||||
|
||||
raise SystemExit(main())
|
||||
@@ -23,6 +23,12 @@ from __future__ import annotations
|
||||
import os
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
# Eager package import so c6_tile_cache.__init__.py runs
|
||||
# `register_component_block("c6_tile_cache", C6TileCacheConfig)` before
|
||||
# `_c6_config(config)` reads `config.components["c6_tile_cache"]` below.
|
||||
# The package __init__.py is import-safe (no FAISS / Postgres / concrete
|
||||
# impls) per the Risk-2 mitigation documented in c6_tile_cache/__init__.py.
|
||||
import gps_denied_onboard.components.c6_tile_cache # noqa: F401
|
||||
from gps_denied_onboard.runtime_root.errors import RuntimeNotAvailableError
|
||||
|
||||
if TYPE_CHECKING:
|
||||
|
||||
Reference in New Issue
Block a user