- Automated build and containerization
- Comprehensive testing (unit, integration, security)
- Review Apps for testing merge request changes
- Continuous delivery or deployment after merge
Auto DevOps offers sensible defaults, but you can customize the pipeline via CI/CD templates or project-specific
.gitlab-ci.yml overrides.
How Auto DevOps Works at the Project Level
When you enable Auto DevOps in Settings > CI/CD, GitLab inspects your repository and applies predefined CI/CD templates. The default pipeline includes three core stages:1. Build Stage
- Detects a
Dockerfilein your repo and builds a container image. - Falls back to Heroku buildpacks if no Dockerfile is found.
- Outputs a ready-to-use Docker image for subsequent stages.
2. Test Stage
Runs your test suite and adds built-in checks:
Supported languages include Ruby, Node.js, Java (Maven/Gradle), Python, Go, and more. All reports appear in the pipeline UI for immediate feedback.
3. Kubernetes Deployment
If you register a Kubernetes cluster in Operations > Kubernetes, Auto DevOps can deploy your app automatically. Supported cluster providers include:- Amazon EKS (Elastic Kubernetes Service)
- Google Kubernetes Engine (GKE)
- Self-managed (Bare Metal) clusters
Review Apps and Security Testing
When a merge request is opened, Auto DevOps spins up a Review App—a temporary, live environment to validate changes before merge. This deployment uses the Helm Auto Deploy chart, which you can customize. Once the Review App is live, Auto DevOps runs Dynamic Application Security Testing (DAST) using OWASP ZAP. ZAP crawls the application, identifies vulnerabilities, and produces a comprehensive report with severity levels and remediation advice.
Post-Merge Deployment and Performance Testing
After you merge to the default branch, Auto DevOps can deploy your application to staging or production based on your configuration. Post-deployment, it executes browser-based performance tests to benchmark page load times against previous releases—ensuring optimal user experience.Deployment Strategies
Choose from three release workflows to match your team’s requirements:Ensure your rollback procedures are tested and documented. Timed rollouts reduce risk but require proper monitoring and alerts.

Links and References
- GitLab Auto DevOps documentation
- GitLab CI/CD Overview
- Kubernetes Basics
- OWASP ZAP Proxy
- Heroku Buildpacks