diff --git a/.gitea/workflows/README.md b/.gitea/workflows/README.md index c138a1a..e48e62a 100644 --- a/.gitea/workflows/README.md +++ b/.gitea/workflows/README.md @@ -41,3 +41,5 @@ See `notes/P05-CI-01.md` and `tests/ci/`. **P05-OIDC-03 Run #93 (single dispatch):** `workflow_dispatch` on `main`, tested SHA `7b80f411b2981e2274d171c12596301ed757b768`, job #206 **QUEUED at last inspection**. No CI steps, error-class evidence, OIDC positive/negative assertions or cleanup have executed yet. Neither pass nor failure is established. Do not rerun, alter login/auth or auto-trigger workflows; verify the *existing Run #93* terminal status when runner scheduling permits. **P05-OIDC-06 new manual workflow:** `p05-custom-login-acceptance.yml` uses an isolated temporary Node22/bookworm builder, pinned PNPM/Nx standalone build, original upstream Dockerfile to package a run-owned local image, opt-in CI Compose image-only overlay and the original real browser OIDC harness. The `always()` cleanup runs original OIDC teardown then exact-labeled builder/image/context teardown. [Run #98](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/98) source `fcfa59e826c39b445faa1b5b26c47ce715d8c3d6` built successfully, but custom OCI Login entrypoint permission denied before full OIDC; old/new cleanup PASS. Not a registry publish or production workflow. + +**P05-OIDC-06-A01 accepted:** The unchanged `p05-custom-login-acceptance.yml` was dispatched exactly once more with source `7d6b6d0704b9e39bcb6e74257dadf0b64a19fc0f` in [Gitea Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) / Job #214, terminal **SUCCESS**. CI-only builder fixed **only** its disposable standalone entrypoint copy mode `644→755`, verified built image executable by default user, original custom Login image ID/health and real Chromium PKCE/state/nonce/Auth.js session/protected Account/negative/logout PASS. Original backend/OIDC and new builder/image/context `always()` cleanup PASS. Historical Run #98 OCI failure remains documented, production/MFA/SSO not accepted. No workflow change was needed in A01; see `notes/P05-OIDC-06-A01.md`. diff --git a/tests/ci/README.md b/tests/ci/README.md index e0586b6..9fdddf6 100644 --- a/tests/ci/README.md +++ b/tests/ci/README.md @@ -36,3 +36,5 @@ Add new CI checks and update `MINIFEST.md`, `project/`, `docs/`, and `notes/` in **P05-OIDC-03:** `tests/ci/oidc_e2e/forwarder.py` is an stdlib-only private 127.0.0.1 TCP relay. `run.sh` classifies pre-credential socat startup failures and, if needed, switches to the official Python image pinned by sha256 within a single isolated CI cycle; existing exact-owner cleanup and original OAuth/Browser tests unchanged. Do not treat forwarder readiness alone as real OIDC authentication acceptance. **P05-OIDC-06 `login_image/` helpers:** isolated frozen imported Login builder and local image, plus run-labeled image/builder/temp-context cleanup; original OIDC default mode unchanged with a narrow opt-in Compose overlay. [Run #98](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/98) build PASS, OCI custom Login startup failed with entrypoint permission denied (exact mode UNKNOWN), custom browser NOT EXECUTED, dual cleanup PASS. New folder `README.md` and `MINIFEST.md` document exact files. No local developer build or production user. + +**P05-OIDC-06-A01 terminal:** Existing CI-only `login_image/build.sh` now validates copied temporary entrypoint regular-file/shebang/mode, corrects an observed `644` executable-bit defect **only in the disposable build context**, and checks the final image with no-network default-user `test -x`. [Gitea Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) SUCCESS on `7d6b6d0704b9e39bcb6e74257dadf0b64a19fc0f`: imported custom Login image actually ran and completed full Chromium PKCE/Auth.js protected Account/session/negative/logout with exact run-owned cleanup PASS. No imported Login source/Dockerfile, browser/provision, Compose, original workflow or production change. See `login_image/README.md`, `notes/P05-OIDC-06-A01.md`. diff --git a/tests/ci/login_image/README.md b/tests/ci/login_image/README.md index 2a31843..e1434a5 100644 --- a/tests/ci/login_image/README.md +++ b/tests/ci/login_image/README.md @@ -7,3 +7,5 @@ This directory is used solely by the manual Gitea P05-OIDC-06 workflow. It build - The existing real browser acceptance harness remains the security authority; custom-image mode is explicit opt-in and uses separate Compose overlay. Update these helpers only in a separately approved source scope; maintain MINIFEST.md and never copy upstream source edits, credentials or CI output to Git. + +**A01 accepted update (2026-11-23):** [Gitea Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) / Job #214 **SUCCESS** on tested source `7d6b6d0704b9e39bcb6e74257dadf0b64a19fc0f`. The upstream Git entrypoint stays `100644`; its temporary standalone copy measured `644` owner `0:0`. `build.sh` alone now checks mode/owner/no-symlink/shebang and changes that **temporary copy only** to `755`, checks built image executable under its default non-root user without network/secrets, then uses the existing custom Login/Chromium OIDC workflow. Four services/actual running source-built Login image/PKCE/state/nonce/Auth.js protected session/negative/logout and both cleanup systems PASS. The Run #98 OCI failure is historical; production HTTPS/MFA/SSO untested.