👷 Publish tag coverage to the pages server
The build job bind-mounts the shared pages tree (the runner whitelists it via container.valid_volumes) and, on tag pushes, wipes /data/gitea-pages/<owner>/<repo>/<tag>/coverage before copying the c8 report into it. Only this tag's coverage/ is touched; older tags and sibling docs/landing trees are left for manual pruning. Add a `tags: ["*"]` push trigger: a `branches` filter alone matches no tag ref, so the tag-gated publish job (and this coverage step) could never run. Track per-branch coverage as a backlog task.
This commit is contained in:
1 parent
a865b466bd
commit
224afa9afb
3 files changed
+44
-15
No files matched your search
+4
-3
@@ -32,9 +32,10 @@ Documentation:
|
||||
|
||||
Maintenance:
|
||||
☐ Serve CI coverage over a tiny self-hosted webserver (replace the zip artifact) @low
|
||||
☐ Add a minimal dir-listing webserver to the gitea docker setup (e.g. caddy `file_server browse` reusing the existing reverse proxy, or any single-binary static server, lipanski/docker-static-website)
|
||||
☐ CI writes each run's `coverage/` into a shared volume keyed by project + tag (e.g. `/coverage/tiny-pattern-ts/<tag>/`)
|
||||
☐ Browse to `…/coverage/<repo>/<tag>/index.html` in the browser; drop the `actions/upload-artifact` coverage step in favour of the shared-dir layout
|
||||
✔ Add a minimal dir-listing webserver to the gitea docker setup (e.g. caddy `file_server browse` reusing the existing reverse proxy, or any single-binary static server, lipanski/docker-static-website) @done (9/13/2026, 9:02:37 PM)
|
||||
✔ drop the `actions/upload-artifact` coverage step in favour of the shared-dir layout @done (9/13/2026, 10:37:22 PM)
|
||||
☐ Explore serving coverage for non-tag pushes (e.g. `main/coverage`, PR previews) @low
|
||||
☐ Manually verify the coverage was created on a real tag push (needs main) @low
|
||||
→ design: no deploy step in CI; the webserver just exposes the shared directory (decided over Gitea Pages / Codecov — neither confirmed available/ wanted)
|
||||
☐ serve docs over self hosted server @low
|
||||
☐ Add a minimal dir-listing webserver to the gitea docker setup for serving docs (reuse existing reverse proxy)
|
||||
|
||||
Reference in new issue
Block a user