test(ci): add disposable real ZITADEL browser OIDC acceptance
This commit is contained in:
1 parent
f423c69654
commit
cbcd60e76e
32 files changed
+875
-22
No files matched your search
@@ -0,0 +1,37 @@
|
||||
name: ZitPlane P05-OIDC-01 Disposable Real Browser Acceptance
|
||||
|
||||
# Dispatch by authorized operator only. No PR, push or schedule.
|
||||
# Uses CI-owned Docker resources; never access production/real user data.
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
oidc:
|
||||
name: Disposable ZITADEL Client User Browser OIDC and Cleanup
|
||||
runs-on: ubuntu-latest
|
||||
container: node:22-alpine
|
||||
timeout-minutes: 55
|
||||
steps:
|
||||
- name: Install Git before isolated Gitea checkout
|
||||
run: apk add --no-cache git
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
github-server-url: https://dev.ivib.cc
|
||||
- name: Disposable backend, real OIDC client/user, browser and negative tests
|
||||
run: |
|
||||
set -eu
|
||||
apk add --no-cache python3 docker-cli docker-cli-compose
|
||||
sh tests/ci/oidc_e2e/run.sh
|
||||
- name: Always remove ONLY run-owned Docker containers, credentials and volumes
|
||||
if: always()
|
||||
run: |
|
||||
set -eu
|
||||
if [ ! -f tests/ci/oidc_e2e/cleanup.sh ]; then
|
||||
echo '::error::CI-owned cleanup script missing; cannot claim teardown'
|
||||
exit 1
|
||||
fi
|
||||
apk add --no-cache docker-cli docker-cli-compose
|
||||
sh tests/ci/oidc_e2e/cleanup.sh
|
||||
Reference in new issue
Block a user