security: make Woodpecker status advisory until runners are isolated

This commit is contained in:
inference-admin committed 2026-11-20 01:08:33 +00:00
1 parent 86012fc879
commit f63096d4dc
1 file changed
+13 -9
+13 -9
View File
@@ -1,8 +1,9 @@
# Woodpecker CI (server + agent) # Woodpecker CI (server + agent)
Self-hosted CI for the co-op's repos. **As of 2026-11-11 the CI is WORKING Self-hosted CI for the co-op's repos. **As of 2026-11-20 tests are ADVISORY,
end to end for push-gated test runs** — `co-op/docs` (manual, build+deploy), not a merge gate** — `co-op/docs` (manual, build+deploy), `code/member-portal`,
`code/member-portal` and `code/admin-panel` (push-triggered test gating). Read `code/admin-panel` and `code/member-dashboard` (push-triggered test runs).
Read
the *Current state* section for what is proven and the traps that remain. the *Current state* section for what is proven and the traps that remain.
Two Cloudron apps, added 2026-11-03: Two Cloudron apps, added 2026-11-03:
@@ -72,12 +73,15 @@ CLI, and a pinned MkDocs toolchain at `/opt/docs-venv`. It **runs as root**
2026-11-13 with the same push gate + `ci/woodpecker/push/woodpecker` status 2026-11-13 with the same push gate + `ci/woodpecker/push/woodpecker` status
check as the panel). Note `co-op/member-portal` is a Gitea REDIRECT to check as the panel). Note `co-op/member-portal` is a Gitea REDIRECT to
`code/member-portal` — the canonical repo lives in the `code` org (Gitea id 6). `code/member-portal` — the canonical repo lives in the `code` org (Gitea id 6).
- **Test gating (added 2026-11-11):** `.woodpecker.yml` on the apps' default - **Test runs are ADVISORY, not a merge gate (changed 2026-11-20):**
branches runs their EXISTING suites on every push (portal test files; `.woodpecker.yml` on the apps' default branches runs the existing suites on
admin-panel guest-guard + oidc/chart sync pins + 4 page-JS harnesses via the every push (portal test files; admin-panel guest-guard + oidc/chart sync pins
vendored `tests/check-page-js.sh`; member-dashboard oidc/chart sync pins + 2 + 4 page-JS harnesses; member-dashboard oidc/chart sync pins + 2 page-JS
page-JS harnesses). Gitea branch protection on `main` of each app repo harnesses). Branch protection no longer requires the
requires the status context `ci/woodpecker/push/woodpecker` to merge. `ci/woodpecker/push/woodpecker` status context: the runner shares one root
container, so a pipeline can forge statuses. Owners review is the trust
boundary; CI failures are visible but do not block a reviewed merge. Do not
turn the status requirement back on until pipelines are isolated.
- **Shared chart module (added 2026-11-13):** `ops-docs/scripts/shared/ - **Shared chart module (added 2026-11-13):** `ops-docs/scripts/shared/
coop_chart.js` is the canonical chart rendering + hover-tooltip module; coop_chart.js` is the canonical chart rendering + hover-tooltip module;
byte-identical copies live at `app/coop_chart.js` in both UI apps, spliced byte-identical copies live at `app/coop_chart.js` in both UI apps, spliced