GitLab Well Architected
Cookbook navigation
Prompts / Implement CI/CD Best Practices

Implement CI/CD Best Practices

DevOpsCI/CDPerformanceSecurityReleaseIntermediate

Optimize CI/CD pipelines for speed, security, and reliability. Apply GitLab best practices.

For GitLab Duo

prompt

Review our CI/CD pipeline:

[PASTE .gitlab-ci.yml]

Improve:
1. Build speed
2. Security scanning
3. Deployment strategy
4. Caching
5. Parallelization
6. Best practices compliance

Use the prompt

Share the pipeline configuration and the delays or failures you want to address. Job timings help focus improvements on the parts that affect your team rather than adding complexity without a clear benefit.