Files
ZitPlane/.gitea/workflows/p05-production-contract-dry-run.yml
T

33 lines
1.2 KiB
YAML

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