gitlab-org--gitlab-foss/doc/ci/examples/README.md

82 lines
3.3 KiB
Markdown
Raw Normal View History

2017-11-01 11:56:40 -04:00
---
comments: false
---
2017-03-29 18:20:41 -04:00
# GitLab CI Examples
2015-08-25 21:42:46 -04:00
A collection of `.gitlab-ci.yml` files is maintained at the [GitLab CI Yml project][gitlab-ci-templates].
If your favorite programming language or framework are missing we would love your help by sending a merge request
with a `.gitlab-ci.yml`.
Apart from those, here is an collection of tutorials and guides on setting up your CI pipeline:
2017-03-29 18:20:41 -04:00
## Languages, frameworks, OSs
### PHP
2016-03-12 20:28:54 -05:00
- [Testing a PHP application](php.md)
2017-03-29 18:20:41 -04:00
- [Run PHP Composer & NPM scripts then deploy them to a staging server](deployment/composer-npm-deploy.md)
### Ruby
2016-02-26 15:51:07 -05:00
- [Test and deploy a Ruby application to Heroku](test-and-deploy-ruby-application-to-heroku.md)
2017-03-29 18:20:41 -04:00
### Python
2016-02-26 15:51:07 -05:00
- [Test and deploy a Python application to Heroku](test-and-deploy-python-application-to-heroku.md)
2017-03-29 18:20:41 -04:00
### Java
- [Continuous Delivery of a Spring Boot application with GitLab CI and Kubernetes](https://about.gitlab.com/2016/12/14/continuous-delivery-of-a-spring-boot-application-with-gitlab-ci-and-kubernetes/)
2017-03-29 18:20:41 -04:00
### Scala
- [Test a Scala application](test-scala-application.md)
2017-03-29 18:20:41 -04:00
### Clojure
- [Test a Clojure application](test-clojure-application.md)
### Elixir
- [Test a Phoenix application](test-phoenix-application.md)
- [Building an Elixir Release into a Docker image using GitLab CI](https://about.gitlab.com/2016/08/11/building-an-elixir-release-into-docker-image-using-gitlab-ci-part-1/)
2017-03-29 18:20:41 -04:00
### iOS
- [Setting up GitLab CI for iOS projects](https://about.gitlab.com/2016/03/10/setting-up-gitlab-ci-for-ios-projects/)
2017-03-29 18:20:41 -04:00
### Android
- [Setting up GitLab CI for Android projects](https://about.gitlab.com/2016/11/30/setting-up-gitlab-ci-for-android-projects/)
2016-09-04 16:20:54 -04:00
### Code quality analysis
- [Analyze code quality with the Code Climate CLI](code_climate.md)
2017-03-29 18:20:41 -04:00
### Other
2016-09-04 16:20:54 -04:00
2017-03-29 18:20:41 -04:00
- [Using `dpl` as deployment tool](deployment/README.md)
- [Repositories with examples for various languages](https://gitlab.com/groups/gitlab-examples)
2016-03-12 20:28:54 -05:00
- [The .gitlab-ci.yml file for GitLab itself](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/.gitlab-ci.yml)
- [Continuous Deployment with GitLab: how to build and deploy a Debian Package with GitLab CI](https://about.gitlab.com/2016/10/12/automated-debian-package-build-with-gitlab-ci/)
- [How to deploy Maven projects to Artifactory with GitLab CI/CD](artifactory_and_gitlab/index.md)
2017-03-29 18:20:41 -04:00
## GitLab CI/CD for GitLab Pages
2017-03-29 18:20:41 -04:00
- [Example projects](https://gitlab.com/pages)
- [Creating and Tweaking `.gitlab-ci.yml` for GitLab Pages](../../user/project/pages/getting_started_part_four.md)
- [SSGs Part 3: Build any SSG site with GitLab Pages](https://about.gitlab.com/2016/06/17/ssg-overview-gitlab-pages-part-3-examples-ci/):
examples for Ruby-, NodeJS-, Python-, and GoLang-based SSGs
- [Building a new GitLab docs site with Nanoc, GitLab CI, and GitLab Pages](https://about.gitlab.com/2016/12/07/building-a-new-gitlab-docs-site-with-nanoc-gitlab-ci-and-gitlab-pages/)
- [Publish code coverage reports with GitLab Pages](https://about.gitlab.com/2016/11/03/publish-code-coverage-report-with-gitlab-pages/)
See the documentation on [GitLab Pages](../../user/project/pages/index.md) for a complete overview.
2017-03-29 18:20:41 -04:00
## More
Contributions are very much welcomed! You can help your favorite programming
language and GitLab by sending a merge request with a guide for that language.
[gitlab-ci-templates]: https://gitlab.com/gitlab-org/gitlab-ci-yml