Files
sonar-test-go3/docs/architecture.md
Scaffolder 0a0006a895
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m27s
initial commit
Change-Id: I3ada42bc15023348100ef2c47ba0830240e41633
2026-05-11 10:29:13 +00:00

31 lines
802 B
Markdown

# Architecture
`sonar-test-go3` 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.