GitLab CI Patterns
Comprehensive GitLab CI/CD pipeline patterns for automated testing, building, and deployment.
Pipeline Templates
Choose the appropriate reference based on your infrastructure:
- Docker Patterns: Building and pushing container images.
- Read references/DOCKER.md.
- Terraform Patterns: Automated IaC workflows.
- Read references/TERRAFORM.md.
- Security & Optimization: SAST, Dependency scanning, and caching.
- Read references/PIPELINE_OPTS.md.
Best Practices
- Specific Tags: Use
node:20, notlatest. - Manual Gates: Implement
when: manualfor production applies. - Artifacts: Use
artifactsfor build outputs and coverage reports.