BigW Consortium Gitlab

_shared_runners.html.haml 1.14 KB
Newer Older
1
%h3 Shared Runners
2

3
.bs-callout.bs-callout-warning.shared-runners-description
4 5
  - if Gitlab::CurrentSettings.shared_runners_text.present?
    = markdown_field(Gitlab::CurrentSettings.current_application_settings, :shared_runners_text)
6
  - else
7 8 9
    GitLab Shared Runners execute code of different projects on the same Runner
    unless you configure GitLab Runner Autoscale with MaxBuilds 1 (which it is
    on GitLab.com).
10
  %hr
11
  - if @project.shared_runners_enabled?
12
    = link_to toggle_shared_runners_project_runners_path(@project), class: 'btn btn-warning', method: :post do
13
      Disable shared Runners
14
  - else
15
    = link_to toggle_shared_runners_project_runners_path(@project), class: 'btn btn-success', method: :post do
16
      Enable shared Runners
17 18 19
    for this project

- if @shared_runners_count.zero?
20 21
  This GitLab server does not provide any shared Runners yet.
  Please use the specific Runners or ask your administrator to create one.
22
- else
23
  %h4.underlined-title Available shared Runners : #{@shared_runners_count}
24
  %ul.bordered-list.available-shared-runners
25
    = render partial: 'projects/runners/runner', collection: @shared_runners, as: :runner