Migrar Pipeline para include: template partilhado
Objectivo
Reescrever .gitlab-ci.yml para usar include: do template partilhado /opt/contracts/pipeline-template.yml.
Resultado
- Pipeline migrada com sucesso (pipeline #2280 GREEN, #2304 GREEN após auto-healing)
- 100 jobs (99 anteriores + cleanup:images NOVO)
- Template copiado para
ci/pipeline-template.yml(contracts não existe no GitLab) - 4 scripts criados:
ci/run-suite.sh,ci/generate-release-manifest.sh,ci/deploy-release-dry-run.sh - Promote, notify, cleanup, e2e_suite, prepare_e2e, release_manifest usam
extends:do template
Fixes adicionais (E2E UAT root causes)
seed_all.py: seed_tester adicionado como step 6/6 (resolve ~160 falhas UAT)- Alembic
e3f4a5b6c7d8: COMMIT antes ALTER TYPE (resolve POST /admin/team 500) CheckoutPage.tsx:static lg:sticky(resolve checkout mobile click intercept)seed_all.py: ImportError User → AdminUser (auto-healing tentativa 1)- Visual baseline pricing actualizada
Commits
efb045eci(pipeline): migrar para include: template partilhado4fbdff2fix(ci): override stages — evidence antes de audit00c037cfix(backend+frontend): seed tester + alembic enum + checkout CSS1e5cb80fix(seed): corrigir ImportError User → AdminUser4bd6e3dchore(visual): actualizar baseline pricing
INFRA configurado
- Scheduled pipeline ID 4: staging nightly (03:00 UTC)
- Scheduled pipeline ID 5: prod weekly (segunda 04:00 UTC)