[lab] Prepara serviço para gates de promoção lab -> homolog #9

Merged
dalton.alvarenga merged 1 commits from lab/promotion-gates into main 2026-08-11 21:52:35 +00:00

Adequa o repo ao guia de promoção lab -> homolog mantendo Python (Gate 0 via stackException).

Mudanças

  • promotion-manifest.yaml: stackException (Python/Vanna), Gate B N/A, D/G declarados, capacidade + deltas.
  • k8s/hml/: overlay homolog — secret DB dedicado vanna-clubpetro-db (Gate G), probes httpGet /health (Gate E), resources.requests, replicas:1, non-root; host homologation.clubpetro.com.
  • server.py: rota GET /health.
  • Dockerfile: usuário non-root uid/gid 10001 (Gate E).
  • .env.example: remove literal lab.clubpetro.com (Gate D).
  • k8s/ flat -> k8s/lab/; cd.yml aplica k8s/lab/.

TODO humano

  • stackException.approvedBy e service.owner no manifesto.
  • Criar secrets vanna-clubpetro-db / vanna-clubpetro-secret no ns homolog.

🤖 Generated with Claude Code

Adequa o repo ao guia de promoção lab -> homolog **mantendo Python** (Gate 0 via `stackException`). ### Mudanças - `promotion-manifest.yaml`: stackException (Python/Vanna), Gate B N/A, D/G declarados, capacidade + deltas. - `k8s/hml/`: overlay homolog — secret DB dedicado `vanna-clubpetro-db` (Gate G), probes `httpGet /health` (Gate E), `resources.requests`, `replicas:1`, non-root; host `homologation.clubpetro.com`. - `server.py`: rota `GET /health`. - `Dockerfile`: usuário non-root uid/gid 10001 (Gate E). - `.env.example`: remove literal `lab.clubpetro.com` (Gate D). - `k8s/` flat -> `k8s/lab/`; `cd.yml` aplica `k8s/lab/`. ### TODO humano - `stackException.approvedBy` e `service.owner` no manifesto. - Criar secrets `vanna-clubpetro-db` / `vanna-clubpetro-secret` no ns homolog. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
dalton.alvarenga added 1 commit 2026-08-11 21:50:56 +00:00
[lab] chore(promotion): prepara serviço para gates lab -> homolog
All checks were successful
CD / build (pull_request) Successful in 5m2s
f4a2ee44ca
Adequa o repo ao guia de promoção lab -> homolog mantendo Python (Gate 0 via
stackException). Cumpre os gates aplicáveis:

- promotion-manifest.yaml: stackException (Python/Vanna), Gate B N/A, Gate D/G
  declarados, capacidade e deltas.
- k8s/hml/: overlay homolog — secret DB dedicado (vanna-clubpetro-db, Gate G),
  probes httpGet /health (Gate E), resources.requests, replicas:1, non-root
  securityContext; host homologation.clubpetro.com (sem host de lab).
- server.py: rota GET /health (alvo das probes).
- Dockerfile: usuário non-root uid/gid 10001 + HOME/cache graváveis (Gate E).
- .env.example: remove literal lab.clubpetro.com do CORS (Gate D).
- k8s/ flat movido para k8s/lab/ (simetria lab/hml); cd.yml aplica k8s/lab/.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
dalton.alvarenga merged commit 2fe6460578 into main 2026-08-11 21:52:35 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Clubpetro-Lab/vanna-clubpetro#9
No description provided.