Commit 44d6830b authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'docs-193484-limit-concurrency' into 'master'

Updated doc related to job concurrency

Closes #193484

See merge request gitlab-org/gitlab!22891
parents f358f0d1 62b11436
...@@ -2719,10 +2719,10 @@ can lead to errors during the deployment. ...@@ -2719,10 +2719,10 @@ can lead to errors during the deployment.
To avoid these errors, the `resource_group` attribute can be used to ensure that To avoid these errors, the `resource_group` attribute can be used to ensure that
the Runner will not run certain jobs simultaneously. the Runner will not run certain jobs simultaneously.
When the `resource_group` key is defined in a job in `.gitlab-ci.yml`, When the `resource_group` key is defined for a job in `.gitlab-ci.yml`,
job runs are mutually exclusive across different pipelines in the same project. job executions are mutually exclusive across different pipelines for the same project.
If multiple jobs belonging to the same resource group are enqueued simultaneously, If multiple jobs belonging to the same resource group are enqueued simultaneously,
only one of them will be picked by the Runner, and the other jobs will wait until the only one of the jobs will be picked by the Runner, and the other jobs will wait until the
`resource_group` is free. `resource_group` is free.
Here is a simple example: Here is a simple 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