Files
sonar-test-go2/docs/architecture.md
Scaffolder f0523b8f90
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m15s
initial commit
Change-Id: I13e9ed013a851dc8b933b024b0f88d03b6ecf6f8
2026-05-07 08:31:08 +00:00

31 lines
802 B
Markdown

# Architecture
`sonar-test-go2` is a `go` service.
| Component | Detail |
|-----------|--------|
| Runtime | `go` |
| Container port | `8080` |
| 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.