Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_shared_runners.html.haml « runners « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1f656971f4665692dbb2135f80c7b765dfa3b895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
%h3 Shared runners

.bs-callout.bs-callout-warning
  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
      Disable shared runners
  - else
    = link_to toggle_shared_runners_namespace_project_runners_path(@project.namespace, @project), class: 'btn btn-success', method: :post do
      Enable shared runners
    for this project

- if @shared_runners_count.zero?
  This GitLab server does not provide any shared runners yet.
  Please use specific runners or ask the administrator to create one.
- else
  %h4.underlined-title Available shared runners - #{@shared_runners_count}
  %ul.bordered-list.available-shared-runners
    = render partial: 'runner', collection: @shared_runners, as: :runner
  - if @shared_runners_count > 10
    .light
      and #{@shared_runners_count - 10} more...