38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
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
|