ci: deploy simulator and run post-deploy UI tests
Test, deploy, and browser-test System Landscape Simulator / test-build (push) Successful in 17s
Test, deploy, and browser-test System Landscape Simulator / deploy (push) Failing after 7s
Test, deploy, and browser-test System Landscape Simulator / browser-test (push) Skipped

This commit is contained in:
2026-11-09 08:25:28 +00:00
parent 3fdab5902a
commit 9bb02b3dd5
7 changed files with 146 additions and 9 deletions
+15
View File
@@ -54,6 +54,21 @@ npm run build
# Browser UI smoke tests (requires a Playwright browser install once)
npx playwright install chromium
npm run test:ui
## Docker deployment
The production image is a static Nginx container. It serves the simulator on
port 80 inside the container and uses `SYSTEM_LANDSCAPE_PORT` for the host
port (7004 by default):
```bash
docker compose up -d --build
curl http://localhost:7004/healthz
```
The Gitea workflow builds and deploys `main` to port 7004, then runs the
Playwright suite against `https://syssim.dumas.ddns.net`. The post-deploy
browser job fails the workflow if the deployed UI does not pass.
```
## Limitations