gitlab-org--gitlab-foss/app/views/projects/runners/_shared_runners.html.haml

24 lines
1.1 KiB
Plaintext
Raw Normal View History

2015-08-26 01:42:46 +00:00
%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.
%hr
2015-12-04 11:55:23 +00:00
- if @project.shared_runners_enabled?
= link_to toggle_shared_runners_namespace_project_runners_path(@project.namespace, @project), class: 'btn btn-warning', method: :post do
2015-08-26 01:42:46 +00:00
Disable shared runners
- else
2015-12-04 11:55:23 +00:00
= link_to toggle_shared_runners_namespace_project_runners_path(@project.namespace, @project), class: 'btn btn-success', method: :post do
2015-08-26 01:42:46 +00:00
Enable shared runners
  for this project
- if @shared_runners_count.zero?
2015-12-12 09:48:32 +00:00
This GitLab server does not provide any shared runners yet.
Please use specific runners or ask the administrator to create one.
2015-08-26 01:42:46 +00:00
- else
%h4.underlined-title Available shared runners - #{@shared_runners_count}
%ul.bordered-list.available-shared-runners
= render partial: 'runner', collection: @shared_runners, as: :runner
2015-08-26 01:42:46 +00:00
- if @shared_runners_count > 10
.light
and #{@shared_runners_count - 10} more...