gitlab-org--gitlab-foss/doc/ci/examples
GitLab Bot 8c2b139cf7 Add latest changes from gitlab-org/gitlab@master 2021-01-28 12:09:54 +00:00
..
artifactory_and_gitlab Add latest changes from gitlab-org/gitlab@master 2021-01-21 00:11:07 +00:00
authenticating-with-hashicorp-vault Add latest changes from gitlab-org/gitlab@master 2021-01-23 00:08:46 +00:00
deploy_spring_boot_to_cloud_foundry Add latest changes from gitlab-org/gitlab@master 2021-01-21 00:11:07 +00:00
deployment Add latest changes from gitlab-org/gitlab@master 2021-01-27 21:09:12 +00:00
devops_and_game_dev_with_gitlab_ci_cd Add latest changes from gitlab-org/gitlab@master 2021-01-21 03:08:59 +00:00
end_to_end_testing_webdriverio Add latest changes from gitlab-org/gitlab@master 2020-12-23 18:10:19 +00:00
laravel_with_gitlab_and_envoy Add latest changes from gitlab-org/gitlab@master 2020-12-23 18:10:19 +00:00
test_phoenix_app_with_gitlab_ci_cd Add latest changes from gitlab-org/gitlab@master 2021-01-06 18:10:52 +00:00
README.md Add latest changes from gitlab-org/gitlab@master 2021-01-28 12:09:54 +00:00
browser_performance.md Add latest changes from gitlab-org/gitlab@master 2020-11-20 21:09:12 +00:00
code_climate.md Add latest changes from gitlab-org/gitlab@master 2020-11-20 21:09:12 +00:00
code_quality.md Add latest changes from gitlab-org/gitlab@master 2020-11-20 21:09:12 +00:00
container_scanning.md Add latest changes from gitlab-org/gitlab@master 2020-11-20 21:09:12 +00:00
dast.md Add latest changes from gitlab-org/gitlab@master 2020-11-20 21:09:12 +00:00
dependency_scanning.md Add latest changes from gitlab-org/gitlab@master 2020-11-20 21:09:12 +00:00
license_management.md Add latest changes from gitlab-org/gitlab@master 2020-11-20 21:09:12 +00:00
php.md Add latest changes from gitlab-org/gitlab@master 2021-01-23 00:08:46 +00:00
sast.md Add latest changes from gitlab-org/gitlab@master 2020-11-20 21:09:12 +00:00
sast_docker.md Add latest changes from gitlab-org/gitlab@master 2020-11-20 21:09:12 +00:00
semantic-release.md Add latest changes from gitlab-org/gitlab@master 2021-01-14 18:10:59 +00:00
test-and-deploy-python-application-to-heroku.md Add latest changes from gitlab-org/gitlab@master 2020-11-26 06:09:20 +00:00
test-and-deploy-ruby-application-to-heroku.md Add latest changes from gitlab-org/gitlab@master 2021-01-13 06:10:25 +00:00
test-clojure-application.md Add latest changes from gitlab-org/gitlab@master 2020-12-04 21:09:29 +00:00
test-phoenix-application.md Add latest changes from gitlab-org/gitlab@master 2021-01-21 03:08:59 +00:00
test-scala-application.md Add latest changes from gitlab-org/gitlab@master 2021-01-21 03:08:59 +00:00

README.md

stage group info comments type
Verify Continuous Integration To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments false index

GitLab CI/CD Examples

This page contains links to a variety of examples that can help you understand how to implement GitLab CI/CD for your specific use case.

Examples are available in several forms. As a collection of:

CI/CD examples

The following table lists examples with step-by-step tutorials that are contained in this section:

Use case Resource
Browser performance testing Browser Performance Testing with the Sitespeed.io container.
Clojure Test a Clojure application with GitLab CI/CD.
Deployment with Dpl Using dpl as deployment tool.
GitLab Pages See the GitLab Pages documentation for a complete example of deploying a static site.
End-to-end testing End-to-end testing with GitLab CI/CD and WebdriverIO.
Load performance testing Load Performance Testing with the k6 container.
Multi project pipeline Build, test deploy using multi project pipeline.
NPM with semantic-release Publish NPM packages to the GitLab Package Registry using semantic-release.
PHP with Laravel, Envoy Test and deploy Laravel applications with GitLab CI/CD and Envoy.
PHP with NPM, SCP Running Composer and NPM scripts with deployment via SCP in GitLab CI/CD.
PHP with PHPunit, atoum Testing PHP projects.
Python on Heroku Test and deploy a Python application with GitLab CI/CD.
Ruby on Heroku Test and deploy a Ruby application with GitLab CI/CD.
Secrets management with Vault Authenticating and Reading Secrets With HashiCorp Vault.

Contributed examples

You can help people that use your favorite programming language by submitting a link to a guide for that language. These contributed guides are hosted externally or in separate example projects:

Use case Resource
Game development DevOps and Game Development with GitLab CI/CD.
Java with Maven How to deploy Maven projects to Artifactory with GitLab CI/CD.
Java with Spring Boot Deploy a Spring Boot application to Cloud Foundry with GitLab CI/CD.
Parallel testing Ruby & JS GitLab CI/CD parallel jobs testing for Ruby & JavaScript projects.
Scala on Heroku Test and deploy a Scala application to Heroku.

CI/CD templates

Get started with GitLab CI/CD and your favorite programming language or framework by using a .gitlab-ci.yml template.

When you create a gitlab-ci.yml file in the UI, you can choose one of these templates:

If a programming language or framework template is not in this list, you can contribute one. To create a template, submit a merge request to the templates list.

Adding templates to your GitLab installation (PREMIUM SELF)

You can add custom examples and templates to your self-managed GitLab instance. Your GitLab administrator can designate an instance template repository that contains examples and templates specific to your organization.

Other resources

This section provides further resources to help you get familiar with various uses of GitLab CI/CD. Note that older articles and videos may not reflect the state of the latest GitLab release.

CI/CD in the cloud

For examples of setting up GitLab CI/CD for cloud-based environments, see:

See also the following video overviews:

Customer stories

For some customer experiences with GitLab CI/CD, see:

Getting started

For some examples to help get you started, see:

Implementing GitLab CI/CD

For examples of others who have implemented GitLab CI/CD, see:

Migrating to GitLab from third-party CI tools

Integrating GitLab CI/CD with other systems

To see how you can integrate GitLab CI/CD with third-party systems, see:

Mobile development

For help with using GitLab CI/CD for mobile application development, see: