Files
gate-svc-1/docs/architecture.md
Scaffolder ed04d3f8a1
Some checks failed
Build and Publish TechDocs / build-and-publish (push) Failing after 1m10s
initial commit
Change-Id: I84c73d9fbc3ab907d3b34cf59d343a84723a0d49
2026-08-02 11:12:52 +00:00

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.