Skip to content
Snippets Groups Projects
Commit 1172978b authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Change shared Runners warning message and link to docs

parent a9346cab
No related branches found
No related tags found
No related merge requests found
%h3 Shared runners
 
.bs-callout.bs-callout-warning
GitLab Runners do not offer secure isolation between projects that they do builds for. You are TRUSTING all GitLab users who can push code to project A, B or C to run shell scripts on the machine hosting runner X.
Depending on the executor that GitLab Runners use, they may not offer secure
isolation between projects that they do builds for. Read more about
%a{href: "/help/ci/runners/README.md#attack-vectors-in-runners"}
GitLab Runner security.
%hr
- if @project.shared_runners_enabled?
= link_to toggle_shared_runners_namespace_project_runners_path(@project.namespace, @project), class: 'btn btn-warning', method: :post do
Loading
Loading
Loading
Loading
@@ -62,7 +62,7 @@ Now simply register the runner as any runner:
sudo gitlab-runner register
```
 
Shared runners are enabled by default as of GitLab 8.2, but can be disabled with the
Shared runners are enabled by default as of GitLab 8.2, but can be disabled with the
`DISABLE SHARED RUNNERS` button. Previous versions of GitLab defaulted shared runners to
disabled.
 
Loading
Loading
@@ -142,5 +142,12 @@ project.
 
# Attack vectors in runners
 
Mentioned briefly earlier, but the following things of runners can be exploited.
We're always looking for contributions that can mitigate these [Security Considerations](https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/docs/security/index.md).
Depending on the executor that GitLab Runners use, they may not offer secure
isolation between projects that they do builds for. In that case, you are
**trusting** all GitLab users who can push code to project A, B or C to run
shell scripts on the machine hosting runner X.
We're always looking for contributions that can mitigate these Security
considerations. Read more on [Runners security][security].
[security]: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/docs/security/index.md
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment