Some checks failed
Build and Publish TechDocs / build-and-publish (push) Failing after 1m10s
Change-Id: I84c73d9fbc3ab907d3b34cf59d343a84723a0d49
31 lines
798 B
Markdown
31 lines
798 B
Markdown
# Architecture
|
|
|
|
`gate-svc-1` 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.
|