chore: scaffold project skeleton (pyproject, Docker, systemd, README)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
13
examples/run_on_fake.sh
Executable file
13
examples/run_on_fake.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
# End-to-end demo: generate a synthetic MCAP, run the analyzer on it,
|
||||
# pipe stdout anomalies to the console (NATS fallback mode).
|
||||
set -euo pipefail
|
||||
|
||||
ROOT=$(cd "$(dirname "$0")/.." && pwd)
|
||||
cd "$ROOT"
|
||||
|
||||
OUT=$(mktemp -d)/demo.mcap
|
||||
python3 tests/fixtures/generate_fake_mcap.py "$OUT"
|
||||
|
||||
echo "---- Running analyzer on $OUT ----"
|
||||
NATS_URL="" cosma-log-analyzer ingest "$OUT" --subject AUV206 --dry-run
|
||||
Reference in New Issue
Block a user