CI/CD examples
- Tier: Free, Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
Use these examples to implement GitLab CI/CD for your specific use case.
Examples
| Use case | Resource |
|---|---|
| Deployment with Dpl | Deploy applications using the Dpl tool |
| GitLab Pages | Publish static websites with automatic CI/CD deployment |
| Multi-project pipeline | Build, test, and deploy using multi-project pipelines |
| npm with semantic-release | Publish npm packages to the GitLab package registry |
| Composer and npm with SCP | Deploy Composer and npm scripts using SCP |
PHP with PHPUnit and atoum | Test PHP projects |
| Secrets management with Vault | Authenticate and read secrets with HashiCorp Vault |
Community-contributed examples
These examples are maintained by the community rather than GitLab. Most example projects are hosted on GitLab and can be forked and adapted for your own needs.
| Use case | Resource |
|---|---|
| Clojure | Test a Clojure application |
| Game development | Set up CI/CD for game development |
| Java with Maven | Deploy Maven projects to Artifactory |
| Java with Spring Boot | Deploy a Spring Boot application to Cloud Foundry |
| Parallel testing Ruby & JS | Run parallel tests for Ruby and JavaScript |
| Python on Heroku | Test and deploy a Python application to Heroku |
| Review apps with NGINX | Set up review apps with NGINX |
| Ruby on Heroku | Test and deploy a Ruby application to Heroku |
| Scala on Heroku | Test and deploy a Scala application to Heroku |