add OpenBSD TA constraints and localhost TLS examples
Some checks failed
ci / rust (push) Has been cancelled
ci / docker (push) Has been cancelled
ci / audit (push) Has been cancelled

This commit is contained in:
2026-09-20 11:28:01 +08:00
parent 4975128945
commit 09b4c40b9f
31 changed files with 4878 additions and 47 deletions

View File

@@ -0,0 +1,24 @@
# Host-side test repository workflow.
# Start tests/support/serve_repository.py on the host, then run this validator
# with FIXTURE_DIR pointing at the generated fixture and network_mode=host.
services:
validator:
build:
context: ..
dockerfile: docker/Dockerfile
image: "${PANDA_RPKI_IMAGE:-panda-rpki:local}"
network_mode: host
user: "${PUID:-1000}:${PGID:-1000}"
read_only: true
init: true
tmpfs:
- /tmp
volumes:
- ${CONFIG_FILE:?set CONFIG_FILE to validate-localhost.toml}:/config/validate.toml:ro
- ${FIXTURE_DIR:?set FIXTURE_DIR to the generated test fixture}:/fixture:ro
- ${OUTPUT_DIR:?set OUTPUT_DIR to a writable output directory}:/output
- ${STATE_DIR:?set STATE_DIR to a writable state directory}:/state
command:
- validate
- --config
- /config/validate.toml