Add versioned deployment receipt ingestion
This commit is contained in:
@@ -8,3 +8,7 @@ npm start
|
||||
```
|
||||
|
||||
Node 24+, no runtime dependencies. Uses built-in `node:sqlite`. Set `TRACE_PASSWORD`; configure read-only repositories through `TRACE_REPOS`. Nothing publishes automatically: export creates a draft under `data/exports/` for manual review.
|
||||
|
||||
## Deployment receipts v1
|
||||
|
||||
`POST /api/v1/events` accepts versioned build/deployment receipts using a project-scoped bearer token configured as `TRACE_RECEIPT_TOKENS=goonk:token,retur:other-token`. Event IDs are idempotent. `GET /api/v1/public/projects/:project/latest` returns an explicit allowlisted projection; raw payloads remain private.
|
||||
|
||||
Reference in New Issue
Block a user