freeze initial panda-rpki staging
Some checks failed
ci / rust (push) Has been cancelled
ci / docker-runtime (push) Has been cancelled

This commit is contained in:
2026-09-01 12:13:53 +08:00
commit 15c8de82ba
259 changed files with 98127 additions and 0 deletions

26
scripts/runtime/entrypoint.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/env bash
set -euo pipefail
BIN_DIR="${BIN_DIR:-/opt/panda-rpki-validator/bin}"
VALIDATOR_BIN="$BIN_DIR/panda-rpki-validator"
if [[ ! -x "$VALIDATOR_BIN" ]]; then
echo "panda-rpki-validator: missing executable: $VALIDATOR_BIN" >&2
exit 127
fi
if [[ "${1:-}" == "run" || "${1:-}" == "run-validator" ]]; then
shift
exec "/opt/panda-rpki-validator/run_validator.sh" "$@"
fi
if [[ "${1:-}" == "daemon" ]]; then
shift
exec "$BIN_DIR/panda-rpki-validator-daemon" "$@"
fi
if [[ "$#" -eq 0 ]]; then
set -- --help
fi
exec "$VALIDATOR_BIN" "$@"

1621
scripts/runtime/run_validator.sh Executable file

File diff suppressed because it is too large Load Diff