ci(oidc): add manual static dry-run and intentionally non-deployable Compose routing fixtures
This commit is contained in:
1 parent
3fc49916ca
commit
45542609c6
3 files changed
+195
No files matched your search
@@ -0,0 +1,32 @@
|
||||
name: ZitPlane P05-OIDC-08 Synthetic Production Contract Dry-Run
|
||||
|
||||
# MANUAL ONLY; static security contract, no Docker daemon lifecycle/production.
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
contract:
|
||||
name: Static Compose and fail-closed negative contract validation
|
||||
runs-on: ubuntu-latest
|
||||
container: node:22-alpine
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- name: Install CI tooling before checkout
|
||||
run: apk add --no-cache git python3 docker-cli docker-cli-compose
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
github-server-url: https://dev.ivib.cc
|
||||
- name: Validate only synthetic Compose config and contract
|
||||
run: |
|
||||
set -eu
|
||||
docker compose -f deployment/production-contract/compose.ci.yaml config --quiet
|
||||
echo ZITPLANE_P08_COMPOSE_STATIC_CONFIG_PASS
|
||||
docker compose -f deployment/production-contract/compose.ci.yaml config --format json | python3 tests/ci/production_contract/validate.py --compose-json-stdin
|
||||
- name: Verify zero Docker resource actions configured
|
||||
if: always()
|
||||
run: |
|
||||
set -eu
|
||||
python3 tests/ci/production_contract/validate.py --workflow-safety
|
||||
Reference in new issue
Block a user