initial commit

Change-Id: I19e8c6bc06df47362cec13220ea292d24be0f734
This commit is contained in:
Scaffolder
2026-05-07 13:43:49 +00:00
commit a709e5abe8
16 changed files with 1399 additions and 0 deletions

30
docs/architecture.md Normal file
View File

@@ -0,0 +1,30 @@
# Architecture
`sonar-test-pyt` 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.