Commit a1150528 authored by Evan Read's avatar Evan Read

Merge branch 'selhorn-docs-runner-disablegroups' into 'master'

Docs: How to disable shared Runners

See merge request gitlab-org/gitlab!36484
parents 7bfb71d1 a1580bfd
...@@ -102,7 +102,7 @@ The fair usage algorithm assigns jobs in this order: ...@@ -102,7 +102,7 @@ The fair usage algorithm assigns jobs in this order:
1. Job 6 is next, because Project 3 is the only project left with no running jobs. 1. Job 6 is next, because Project 3 is the only project left with no running jobs.
1. Lastly we choose Job 3... because, again, it's the only job left. 1. Lastly we choose Job 3... because, again, it's the only job left.
#### Enable a shared Runner #### Enable shared Runners
On GitLab.com, [shared Runners](#shared-runners) are enabled in all projects by On GitLab.com, [shared Runners](#shared-runners) are enabled in all projects by
default. default.
...@@ -110,12 +110,31 @@ default. ...@@ -110,12 +110,31 @@ default.
On self-managed instances of GitLab, an administrator must [install](https://docs.gitlab.com/runner/install/index.html) On self-managed instances of GitLab, an administrator must [install](https://docs.gitlab.com/runner/install/index.html)
and [register](https://docs.gitlab.com/runner/register/index.html) them. and [register](https://docs.gitlab.com/runner/register/index.html) them.
You can also enable or disable shared Runners for individual projects. You can also enable shared Runners for individual projects.
To enable or disable a shared Runner: To enable shared Runners:
1. Go to the project's **{settings}** **Settings > CI/CD** and expand the **Runners** section. 1. Go to the project's **{settings}** **Settings > CI/CD** and expand the **Runners** section.
1. Click **Allow shared Runners** or **Disable shared Runners**. 1. Click **Allow shared Runners**.
#### Disable shared Runners
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/23123) for groups in GitLab 13.2.
You can disable shared Runners for individual projects or for groups.
You must have Owner permissions for the project or group.
To disable shared Runners for a project:
1. Go to the project's **{settings}** **Settings > CI/CD** and expand the **Runners** section.
1. In the **Shared Runners** area, click **Disable shared Runners**.
To disable shared Runners for a group:
1. Go to the group's **{settings}** **Settings > CI/CD** and expand the **Runners** section.
1. In the **Shared Runners** area, click **Disable shared Runners globally**.
1. Optionally, to allow shared Runners to be enabled for individual projects or subgroups,
click **Allow projects/subgroups to override the global setting**.
### Group Runners ### Group Runners
......
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