Commit 9a7690f9 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'ci_examples' into 'master'

Improve discoverability for CI examples

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/13410

See merge request !3008
parents 17251cf4 9e3c7872
...@@ -16,40 +16,42 @@ ...@@ -16,40 +16,42 @@
- [Web hooks](web_hooks/web_hooks.md) Let GitLab notify you when new code has been pushed to your project. - [Web hooks](web_hooks/web_hooks.md) Let GitLab notify you when new code has been pushed to your project.
- [Workflow](workflow/README.md) Using GitLab functionality and importing projects from GitHub and SVN. - [Workflow](workflow/README.md) Using GitLab functionality and importing projects from GitHub and SVN.
## CI Documentation ## CI User documentation
- [Quick Start](ci/quick_start/README.md) - [Get started with GitLab CI](ci/quick_start/README.md)
- [Enable or disable GitLab CI](ci/enable_or_disable_ci.md) - [Learn how to enable or disable GitLab CI](ci/enable_or_disable_ci.md)
- [Configuring project (.gitlab-ci.yml)](ci/yaml/README.md) - [Learn how `.gitlab-ci.yml` works](ci/yaml/README.md)
- [Configuring runner](ci/runners/README.md) - [Configure a Runner, the application that runs your builds](ci/runners/README.md)
- [Configuring deployment](ci/deployment/README.md) - [Use Docker images with GitLab Runner](ci/docker/using_docker_images.md)
- [Using Docker Images](ci/docker/using_docker_images.md) - [Use CI to build Docker images](ci/docker/using_docker_build.md)
- [Using Docker Build](ci/docker/using_docker_build.md) - [Use variables in your `.gitlab-ci.yml`](ci/variables/README.md)
- [Using Variables](ci/variables/README.md) - [Use SSH keys in your build environment](ci/ssh_keys/README.md)
- [Using SSH keys](ci/ssh_keys/README.md) - [Trigger builds through the API](ci/triggers/README.md)
- [Build artifacts](ci/build_artifacts/README.md)
- [User permissions](ci/permissions/README.md) - [User permissions](ci/permissions/README.md)
- [API](ci/api/README.md) - [API](ci/api/README.md)
- [Triggering builds through the API](ci/triggers/README.md)
- [Build artifacts](ci/build_artifacts/README.md)
### CI Languages ### CI Examples
- [Testing PHP](ci/languages/php.md) - [The .gitlab-ci.yml file for GitLab itself](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/.gitlab-ci.yml)
- [Test your PHP applications](ci/examples/php.md)
- [Test and deploy Ruby applications to Heroku](ci/examples/test-and-deploy-ruby-application-to-heroku.md)
- [Test and deploy Python applications to Heroku](ci/examples/test-and-deploy-python-application-to-heroku.md)
- [Test Clojure applications](ci/examples/test-clojure-application.md)
- [Using `dpl` as deployment tool](ci/deployment/README.md)
- Help your favorite programming language and GitLab by sending a merge request
with a guide for that language.
### CI Services ### CI Services
GitLab CI uses the `services` keyword to define what docker containers should
be linked with your base image. Below is a list of examples you may use:
- [Using MySQL](ci/services/mysql.md) - [Using MySQL](ci/services/mysql.md)
- [Using PostgreSQL](ci/services/postgres.md) - [Using PostgreSQL](ci/services/postgres.md)
- [Using Redis](ci/services/redis.md) - [Using Redis](ci/services/redis.md)
- [Using Other Services](ci/docker/using_docker_images.md#how-to-use-other-images-as-services) - [Using Other Services](ci/docker/using_docker_images.md#how-to-use-other-images-as-services)
### CI Examples
- [Test and deploy Ruby applications to Heroku](ci/examples/test-and-deploy-ruby-application-to-heroku.md)
- [Test and deploy Python applications to Heroku](ci/examples/test-and-deploy-python-application-to-heroku.md)
- [Test Clojure applications](ci/examples/test-clojure-application.md)
- Help your favorite programming language and GitLab by sending a merge request with a guide for that language.
## Administrator documentation ## Administrator documentation
- [Custom git hooks](hooks/custom_hooks.md) Custom git hooks (on the filesystem) for when web hooks aren't enough. - [Custom git hooks](hooks/custom_hooks.md) Custom git hooks (on the filesystem) for when web hooks aren't enough.
......
## GitLab CI Documentation ## GitLab CI Documentation
### User documentation ### CI User documentation
* [Quick Start](quick_start/README.md) - [Get started with GitLab CI](quick_start/README.md)
* [Enable or disable GitLab CI](enable_or_disable_ci.md) - [Learn how to enable or disable GitLab CI](enable_or_disable_ci.md)
* [Configuring project (.gitlab-ci.yml)](yaml/README.md) - [Learn how `.gitlab-ci.yml` works](yaml/README.md)
* [Configuring runner](runners/README.md) - [Configure a Runner, the application that runs your builds](runners/README.md)
* [Configuring deployment](deployment/README.md) - [Use Docker images with GitLab Runner](docker/using_docker_images.md)
* [Using Docker Images](docker/using_docker_images.md) - [Use CI to build Docker images](docker/using_docker_build.md)
* [Using Docker Build](docker/using_docker_build.md) - [Use variables in your `.gitlab-ci.yml`](variables/README.md)
* [Using Variables](variables/README.md) - [Use SSH keys in your build environment](ssh_keys/README.md)
* [Using SSH keys](ssh_keys/README.md) - [Trigger builds through the API](triggers/README.md)
* [Triggering builds through the API](triggers/README.md) - [Build artifacts](build_artifacts/README.md)
* [Build artifacts](build_artifacts/README.md) - [User permissions](permissions/README.md)
- [API](api/README.md)
### Languages
### CI Examples
* [Testing PHP](languages/php.md)
- [The .gitlab-ci.yml file for GitLab itself](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/.gitlab-ci.yml)
### Services - [Test your PHP applications](examples/php.md)
- [Test and deploy Ruby applications to Heroku](examples/test-and-deploy-ruby-application-to-heroku.md)
* [Using MySQL](services/mysql.md) - [Test and deploy Python applications to Heroku](examples/test-and-deploy-python-application-to-heroku.md)
* [Using PostgreSQL](services/postgres.md) - [Test Clojure applications](examples/test-clojure-application.md)
* [Using Redis](services/redis.md) - [Using `dpl` as deployment tool](deployment/README.md)
* [Using Other Services](docker/using_docker_images.md#how-to-use-other-images-as-services) - Help your favorite programming language and GitLab by sending a merge request
with a guide for that language.
### Examples
### CI Services
+ [The .gitlab-ci.yml file for GitLab itself](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/.gitlab-ci.yml)
+ [Test and deploy Ruby applications to Heroku](examples/test-and-deploy-ruby-application-to-heroku.md) GitLab CI uses the `services` keyword to define what docker containers should
+ [Test and deploy Python applications to Heroku](examples/test-and-deploy-python-application-to-heroku.md) be linked with your base image. Below is a list of examples you may use:
+ [Test Clojure applications](examples/test-clojure-application.md)
+ Help your favorite programming language and GitLab by sending a merge request with a guide for that language. - [Using MySQL](services/mysql.md)
- [Using PostgreSQL](services/postgres.md)
### Administrator documentation - [Using Redis](services/redis.md)
- [Using Other Services](docker/using_docker_images.md#how-to-use-other-images-as-services)
* [User permissions](permissions/README.md)
* [API](api/README.md)
# Build script examples ## Build script examples
+ [Test and deploy a Ruby application to Heroku](test-and-deploy-ruby-application-to-heroku.md) - [Test and deploy a Ruby application to Heroku](test-and-deploy-ruby-application-to-heroku.md)
+ [Test and deploy a Python application to Heroku](test-and-deploy-python-application-to-heroku.md) - [Test and deploy a Python application to Heroku](test-and-deploy-python-application-to-heroku.md)
+ [Test a Clojure application](test-clojure-application.md) - [Test a Clojure application](test-clojure-application.md)
## Languages
This is a list of languages you can test with GitLab CI. Each section has
comprehensive documentation and comes with a test repository hosted on
GitLab.com.
- [Testing PHP](php.md)
### Languages
This is a list of languages you can test with GitLab CI. Each section has
comprehensive documentation and comes with a test repository hosted on
GitLab.com
+ [Testing PHP](php.md)
...@@ -201,6 +201,11 @@ You can access a builds badge image using following link: ...@@ -201,6 +201,11 @@ You can access a builds badge image using following link:
http://example.gitlab.com/namespace/project/badges/branch/build.svg http://example.gitlab.com/namespace/project/badges/branch/build.svg
``` ```
## Examples
Visit the [examples README][examples] to see a list of examples using GitLab
CI with various languages.
## Next steps ## Next steps
Awesome! You started using CI in GitLab! Awesome! You started using CI in GitLab!
...@@ -212,3 +217,4 @@ Visit our various languages examples at <https://gitlab.com/groups/gitlab-exampl ...@@ -212,3 +217,4 @@ Visit our various languages examples at <https://gitlab.com/groups/gitlab-exampl
[runner-install]: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/tree/master#installation [runner-install]: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/tree/master#installation
[blog-ci]: https://about.gitlab.com/2015/05/06/why-were-replacing-gitlab-ci-jobs-with-gitlab-ci-dot-yml/ [blog-ci]: https://about.gitlab.com/2015/05/06/why-were-replacing-gitlab-ci-jobs-with-gitlab-ci-dot-yml/
[examples]: ../examples/README.md
## GitLab CI Services ## GitLab CI Services
GitLab CI uses the `services` keyword to define what docker containers should be GitLab CI uses the `services` keyword to define what docker containers should
linked with your base image. Below is a list of examples you may use. be linked with your base image. Below is a list of examples you may use.
+ [Using MySQL](mysql.md) - [Using MySQL](mysql.md)
+ [Using PostgreSQL](postgres.md) - [Using PostgreSQL](postgres.md)
+ [Using Redis](redis.md) - [Using Redis](redis.md)
+ [Using Other Services](../docker/using_docker_images.md#how-to-use-other-images-as-services) - [Using Other Services](../docker/using_docker_images.md#how-to-use-other-images-as-services)
...@@ -518,3 +518,10 @@ You can find the link under `/ci/lint` of your gitlab instance. ...@@ -518,3 +518,10 @@ You can find the link under `/ci/lint` of your gitlab instance.
If your commit message contains `[ci skip]`, the commit will be created but the If your commit message contains `[ci skip]`, the commit will be created but the
builds will be skipped. builds will be skipped.
## Examples
Visit the [examples README][examples] to see a list of examples using GitLab
CI with various languages.
[examples]: ../examples/README.md
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment