feat(3 U2.3): serve per-run artifacts at /runs/<id>/<file> (whitelisted, traversal-guarded) + bind-mount runs dir RO into dashboard
This commit is contained in:
@ -37,8 +37,17 @@ let
|
||||
- CI_REPO=recipe-maintainers/cc-ci
|
||||
- DASH_LISTEN=0.0.0.0:8080
|
||||
- DRONE_TOKEN_FILE=/run/secrets/drone_token
|
||||
- CCCI_RUNS_DIR=/var/lib/cc-ci-runs
|
||||
secrets:
|
||||
- drone_token
|
||||
# Phase 3 (U2.3): the per-run artifacts (results.json, summary.png, screenshot.png, badge.svg)
|
||||
# the runner writes under /var/lib/cc-ci-runs are bind-mounted READ-ONLY so the dashboard can
|
||||
# serve them at /runs/<id>/<file>. Read-only: the dashboard never writes run artifacts.
|
||||
volumes:
|
||||
- type: bind
|
||||
source: /var/lib/cc-ci-runs
|
||||
target: /var/lib/cc-ci-runs
|
||||
read_only: true
|
||||
networks:
|
||||
- proxy
|
||||
deploy:
|
||||
|
||||
Reference in New Issue
Block a user