ci(oidc): build isolated imported Login image and reuse real browser acceptance

This commit is contained in:
victorsteele428 committed 2026-11-23 10:16:45 +00:00
1 parent c93468fb60
commit fcfa59e826
7 files changed
+214 -4

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
# CI-only imported Login image acceptance helpers
This directory is used solely by the manual Gitea P05-OIDC-06 workflow. It builds the original imported Login V2 workspace **inside a run-labeled disposable Node 22 Debian builder** and packages only its generated Next standalone output with the **unchanged upstream Login Dockerfile** into a local Docker image.
- `build.sh`: refuse preexisting state, run frozen pinned pnpm/Nx build, create local run-tagged image. No registry push, no production data, no host ports.
- `cleanup.sh`: used by the workflow `always()` step, **after** the existing OIDC cleanup; verify labels and remove only this run's builder/image/temp build context.
- 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.