gitlab-org--gitlab-foss/doc/ci/examples
Evan Read ce042ef02a Update broken links to new destinations 2019-04-10 06:29:36 +00:00
..
artifactory_and_gitlab Adds new resources for CI to the documentation suite 2019-03-08 03:34:28 +00:00
deploy_spring_boot_to_cloud_foundry Docs: Fix missed or newly added broken anchors 2019-03-25 04:56:57 +00:00
deployment Remove consecutive blank lines from markdown files 2019-02-18 09:36:13 +00:00
devops_and_game_dev_with_gitlab_ci_cd Docs: Fix anchors related to environments doc 2019-04-08 03:11:30 +00:00
end_to_end_testing_webdriverio Docs: Fix missed or newly added broken anchors 2019-03-25 04:56:57 +00:00
laravel_with_gitlab_and_envoy Docs: Fix anchors related to variables doc 2019-04-08 12:32:38 +00:00
test_phoenix_app_with_gitlab_ci_cd Update broken links to new destinations 2019-04-10 06:29:36 +00:00
README.md Add instance level templates to the examples page. 2019-03-24 22:59:53 +00:00
browser_performance.md Docs: Fix link references for artifacts 2019-02-03 22:26:09 +00:00
code_climate.md Rename code climate to code quality 2018-07-10 12:39:55 +00:00
code_quality.md Docs: Fix link references for artifacts 2019-02-03 22:26:09 +00:00
container_scanning.md Update clair-local-scan to 2.0.6 to support Ubuntu 18.04 2019-03-14 00:21:19 +09:00
dast.md Docs: Fix link references for artifacts 2019-02-03 22:26:09 +00:00
php.md Docs: Fixing some bad links 2018-10-14 22:55:12 +00:00
sast_docker.md Docs: Add automatic redirects to many moved files 2019-03-11 05:54:25 +00:00
test-and-deploy-python-application-to-heroku.md Adds new resources for CI to the documentation suite 2019-03-08 03:34:28 +00:00
test-and-deploy-ruby-application-to-heroku.md Adds new resources for CI to the documentation suite 2019-03-08 03:34:28 +00:00
test-clojure-application.md Exclude comments from specific docs 2017-11-01 15:56:40 +00:00
test-phoenix-application.md Docs: comm article Phoenix App with GitLab CI/CD 2018-02-20 15:07:06 +00:00
test-scala-application.md Docs: Fix anchors related to variables doc 2019-04-08 12:32:38 +00:00

README.md

comments
false

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:

Use case Resource
Browser performance testing Browser Performance Testing with the Sitespeed.io container.
Clojure Test a Clojure application with GitLab CI/CD.
Code quality analysis Analyze your project's Code Quality. [STARTER]
Container scanning Container Scanning with GitLab CI/CD.
Dependency scanning Dependency Scanning with GitLab CI/CD. [ULTIMATE]
Deployment with dpl Using dpl as deployment tool.
Dynamic application
security testing (DAST)
Dynamic Application Security Testing with GitLab CI/CD [ULTIMATE]
Elixir Testing a Phoenix application with GitLab CI/CD.
Game development DevOps and Game Dev with GitLab CI/CD.
GitLab Pages See the GitLab Pages documentation for a complete example.
Java Deploy a Spring Boot application to Cloud Foundry with GitLab CI/CD.
JUnit JUnit test reports.
License management Dependencies license management with GitLab CI/CD [ULTIMATE]
Maven How to deploy Maven projects to Artifactory with GitLab CI/CD.
PHP Testing PHP projects.
PHP Running Composer and NPM scripts with deployment via SCP in GitLab CI/CD.
PHP Test and deploy Laravel applications with GitLab CI/CD and Envoy.
Python Test and deploy a Python application with GitLab CI/CD.
Ruby Test and deploy a Ruby application with GitLab CI/CD.
Scala Test and deploy a Scala application to Heroku.
Static application
security testing (SAST)
Static Application Security Testing with GitLab CI/CD [ULTIMATE]
Testing End-to-end testing with GitLab CI/CD and WebdriverIO.

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.

Adding templates to your GitLab installation [PREMIUM ONLY]

If you want to have customized examples and templates for your own self-managed GitLab instance available to your team, your GitLab administrator can designate an instance template repository that contains examples and templates specific to your enterprise.

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:

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:

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: