GitLab CI Template
Build comprehensive GitLab CI/CD pipeline configurations with multi-stage builds, caching, and deployment strategies.
Usage
Describe your pipeline requirements and this skill will generate a complete .gitlab-ci.yml configuration.
Examples
- "Create a pipeline with build, test, and deploy stages for a Python app"
- "Set up a CI pipeline that builds Docker images and pushes to GitLab registry"
- "Build a pipeline with staging and production deployment environments"
Guidelines
- Use stages to organize pipeline flow logically
- Cache dependencies between pipeline runs for speed
- Use GitLab environments for deployment tracking
- Define rules instead of only/except for job conditions
- Leverage include and extends for reusable configurations