run-on-pull-request-push.ps1¶
PR validation pipeline. Runs all tests, builds Docker images, and validates the documentation site.
Usage¶
Steps¶
| Step | Name | Description |
|---|---|---|
| 1 | Run All Tests | Calls run-all-tests.ps1 (unit → integration → E2E) |
| 2 | Build Quick-Start Docker Images | Builds ghcr.io/fortunen/kete/quick-start-keycloak (validation only, no push) |
| 3 | Build Documentation Site | Runs python -m mkdocs build --strict to validate docs |
Output¶
Displays a step-by-step progress table and a validation summary:
╔══════════════════════════════════════════════════════════╗
║ ✓ PR VALIDATION PASSED ║
║ Ready to merge! ║
╚══════════════════════════════════════════════════════════╝
Exit Code¶
0— all validation steps passed1— one or more steps failed
Prerequisites¶
- Java 21, Maven, Docker Desktop
- Python with MkDocs (
mkdocsandmkdocs-material)