Commit 066cdc19 authored by Evan Read's avatar Evan Read Committed by Achilleas Pipinellis

Refactor new content for stage keyword

parent aa23141d
...@@ -268,15 +268,9 @@ There are also two edge cases worth mentioning: ...@@ -268,15 +268,9 @@ 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 (subject to [certain conditions](#using-your-own-runners)). For example:
```yaml ```yaml
stages: stages:
...@@ -301,6 +295,17 @@ job 4: ...@@ -301,6 +295,17 @@ job 4:
script: make deploy script: make deploy
``` ```
#### Using your own Runners
When using your own Runners, GitLab Runner runs only one job at a time by default (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 on your own Runners in parallel only if:
- Run on different Runners.
- The Runner's `concurrent` setting has been changed.
### `only`/`except` (basic) ### `only`/`except` (basic)
`only` and `except` are two parameters that set a job policy to limit when `only` and `except` are two parameters that set a job policy to limit when
......
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