Commit 0ccb31de authored by Evan Read's avatar Evan Read

Merge branch 'patch-48' into 'master'

Add infos about runners concurrent jobs in .gitlab-ci.yml documentation

See merge request gitlab-org/gitlab-ce!25809
parents 5b13c283 fae18a04
...@@ -268,6 +268,12 @@ There are also two edge cases worth mentioning: ...@@ -268,6 +268,12 @@ There are also two edge cases worth mentioning:
### `stage` ### `stage`
NOTE: **Note:**
By default, when using your own Runners, the GitLab Runner installation is set up to run only one job at a time (see the `concurrent` flag in [Runner global settings](https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-global-section) for more information).
Jobs will run in parallel only if:
- Run on different Runners
- The Runner's `concurrent` config has been changed.
`stage` is defined per-job and relies on [`stages`](#stages) which is defined `stage` is defined per-job and relies on [`stages`](#stages) which is defined
globally. It allows to group jobs into different stages, and jobs of the same globally. It allows to group jobs into different stages, and jobs of the same
`stage` are executed in `parallel`. For example: `stage` are executed in `parallel`. For example:
......
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