All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m27s
Change-Id: I3ada42bc15023348100ef2c47ba0830240e41633
31 lines
802 B
Markdown
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.
|