Files
sonar-test-pyt2/docs/architecture.md
Scaffolder ef9238e643
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m13s
initial commit
Change-Id: I2176a752738f5a750cdad5c5722ca01248d30106
2026-05-07 14:55:47 +00:00

31 lines
827 B
Markdown

# Architecture
`sonar-test-pyt2` is a `python-fastapi` service.
| Component | Detail |
|-----------|--------|
| Runtime | `python-fastapi` |
| Container port | `8000` |
| Health check | `/health` |
| Metrics | `/metrics` (Prometheus format) |
| Image | Azure Container Registry (`bstagecjotdevacr`) |
## Deployment flow
```
Push to dev/staging/prod
→ build-push.yml (build + test → push image to ACR)
→ deploy-humanitec.yml (hctl score deploy)
```
## Branch model
| Branch | Purpose |
|--------|---------|
| `main` | System of record — catalog, docs, score.yaml, platform config |
| `dev` | Active development |
| `staging` | Pre-production (lazy-created on first promote) |
| `prod` | Production (lazy-created on first promote) |
Promotions between environments are triggered from the Backstage CI/CD tab.