initial commit
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 2m0s

Change-Id: I4630f10e87c2a1233268fb6df6e8513936d893bf
This commit is contained in:
Scaffolder
2026-05-06 13:06:20 +00:00
commit cd38fba131
16 changed files with 1396 additions and 0 deletions

30
docs/architecture.md Normal file
View File

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