T-008: CI/CD and Documentation
Description
Configure CI pipeline to run SSL tests and document the feature.
Delivered Value
Automated execution of SSL tests in CI.
Files to Create/Modify
| File |
Action |
Description |
tests/integration/ssl/README.md |
Create |
SSL tests documentation |
.github/workflows/test.yml or equivalent |
Modify |
Add SSL tests stage |
README.md Content
# Testes SSL para Bancos de Dados
## Visao Geral
Testes de integracao e E2E para validar conexoes SSL com MySQL, SQL Server e Oracle.
## Execucao
### Testes de Integracao SSL
```bash
ENABLE_SSL=true go test -tags="integration,ssl" ./tests/integration/ssl/...
Testes E2E SSL
ENABLE_SSL=true go test -tags="e2e,ssl" ./tests/chaos/e2e/... -run "SSL"
Modos SSL Suportados
MySQL
true - SSL obrigatorio
skip-verify - SSL sem verificacao de certificado
preferred - SSL preferido mas nao obrigatorio
SQL Server
true - SSL obrigatorio (TrustServerCertificate=true)
strict - SSL com verificacao completa
Oracle
true/enable - SSL habilitado
skip-verify - SSL sem verificacao de certificado
Limitacoes Conhecidas
- Oracle SSL em containers requer configuracao simplificada
- Modo
strict do SQL Server pode falhar se hostname nao coincidir
### Dependencies
- Tasks 2-7 (all tests implemented)
### Estimate
- Size: S (small)
- Complexity: Low
### Acceptance Criteria
- [ ] README.md documents all tests
- [ ] CI runs SSL tests (optional or scheduled)
- [ ] Execution commands documented
---
## Task Summary
| Task | Description | Size | Dependencies |
|------|-------------|------|--------------|
| 1 | Initial Setup and Helpers | S | - |
| 2 | MySQL SSL Integration | M | Task 1 |
| 3 | SQL Server SSL Integration | M | Task 1 |
| 4 | Oracle SSL Integration | M | Task 1 |
| 5 | MySQL SSL E2E | M | Task 1, 2 |
| 6 | SQL Server SSL E2E | M | Task 1, 3 |
| 7 | Oracle SSL E2E | M | Task 1, 4 |
| 8 | CI/CD and Documentation | S | Tasks 2-7 |
## Recommended Execution Order
1. **Phase 1**: Task 1 (Setup)
2. **Phase 2**: Tasks 2, 3, 4 (Integration - can be parallel)
3. **Phase 3**: Tasks 5, 6, 7 (E2E - can be parallel)
4. **Phase 4**: Task 8 (Documentation)
---
## Gate 3 Approval Criteria
- [x] Each task delivers user value
- [x] No task longer than 2 weeks
- [x] Clear dependencies between tasks
- [x] Test strategy defined for each task
- [x] Testable acceptance criteria
---
_Task gerada pelo Floki_
---
**Jira:** FET-142
**Link:** https://lerian.atlassian.net/browse/FET-142
T-008: CI/CD and Documentation
Description
Configure CI pipeline to run SSL tests and document the feature.
Delivered Value
Automated execution of SSL tests in CI.
Files to Create/Modify
tests/integration/ssl/README.md.github/workflows/test.ymlor equivalentREADME.md Content
Testes E2E SSL
Modos SSL Suportados
MySQL
true- SSL obrigatorioskip-verify- SSL sem verificacao de certificadopreferred- SSL preferido mas nao obrigatorioSQL Server
true- SSL obrigatorio (TrustServerCertificate=true)strict- SSL com verificacao completaOracle
true/enable- SSL habilitadoskip-verify- SSL sem verificacao de certificadoLimitacoes Conhecidas
strictdo SQL Server pode falhar se hostname nao coincidir