GitLab CI/CD Examples
Examples are a useful way of understanding how to implement GitLab CI/CD for your specific use case.
Examples are available in several forms. As a collection of:
-
.gitlab-ci.yml
template files maintained in GitLab. When you create a new file via the UI, GitLab will give you the option to choose one of these templates. This will allow you to quickly bootstrap your project for CI/CD. If your favorite programming language or framework are missing, we would love your help by sending a merge request with a new.gitlab-ci.yml
to this project. - Repositories with example projects for various languages. You can fork and adjust them to your own needs.
- Examples and other resources listed below.
CI/CD examples
The following table lists examples for different use cases:
Contributing examples
Contributions are welcome! You can help your favorite programming language users and GitLab by sending a merge request with a guide for that language. You may want to apply for the GitLab Community Writers Program to get paid for writing complete articles for GitLab.
Other resources
This section provides further resources to help you get familiar with different aspects of GitLab CI/CD.
NOTE: Note: These resources may no longer reflect the current state of GitLab CI/CD.
CI/CD in the cloud
For examples of setting up GitLab CI/CD for cloud-based environments, see:
- How to set up multi-account AWS SAM deployments with GitLab CI
- How to autoscale continuous deployment with GitLab Runner on DigitalOcean
- How to create a CI/CD pipeline with Auto Deploy to Kubernetes using GitLab and Helm
Customer stories
For some customer experiences with GitLab CI/CD, see:
- How Verizon Connect reduced datacenter deploys from 30 days to under 8 hours with GitLab
- How Wag! cut their release process from 40 minutes to just 6
- How Jaguar Land Rover embraced CI to speed up their software lifecycle
Getting started
For some examples to help get you started, see:
- GitLab CI/CD's 2018 highlights
- A beginner's guide to continuous integration
- Making CI easier with GitLab
Implementing GitLab CI/CD
For examples of others who have implemented GitLab CI/CD, see:
- How to streamline interactions between multiple repositories with multi-project pipelines
- How we used GitLab CI to build GitLab faster
- Test all the things in GitLab CI with Docker by example
- A Craftsman looks at continuous integration
- Go tools and GitLab: How to do continuous integration like a boss
- GitBot – automating boring Git operations with CI
- How to use GitLab CI for Vue.js
- Video: GitLab CI/CD Deep Dive
- Dockerizing GitLab Review Apps
- Fast and natural continuous integration with GitLab CI
- Demo: CI/CD with GitLab in action
Integrating GitLab CI/CD with other systems
To see how you can integrate GitLab CI/CD with third-party systems, see:
- Streamline and shorten error remediation with Sentry’s new GitLab integration
- How to simplify your smart home configuration with GitLab CI/CD
- Demo: GitLab + Jira + Jenkins
- Introducing Auto Breakfast from GitLab (sort of)
Mobile development
For help with using GitLab CI/CD for mobile application development, see: