debian-mirror-gitlab/app/views/projects/runners/_shared_runners.html.haml

26 lines
1.1 KiB
Text
Raw Normal View History

2016-11-03 12:29:30 +05:30
%h3 Shared Runners
2015-09-25 12:07:36 +05:30
2018-03-27 19:54:05 +05:30
.bs-callout.shared-runners-description
2018-03-17 18:26:18 +05:30
- if Gitlab::CurrentSettings.shared_runners_text.present?
= markdown_field(Gitlab::CurrentSettings.current_application_settings, :shared_runners_text)
2016-06-02 11:05:42 +05:30
- else
2016-11-03 12:29:30 +05:30
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).
2015-09-25 12:07:36 +05:30
%hr
2015-12-23 02:04:40 +05:30
- if @project.shared_runners_enabled?
2018-03-27 19:54:05 +05:30
= link_to toggle_shared_runners_project_runners_path(@project), class: 'btn btn-close', method: :post do
2016-11-03 12:29:30 +05:30
Disable shared Runners
2015-09-25 12:07:36 +05:30
- else
2017-09-10 17:25:29 +05:30
= link_to toggle_shared_runners_project_runners_path(@project), class: 'btn btn-success', method: :post do
2016-11-03 12:29:30 +05:30
Enable shared Runners
2015-09-25 12:07:36 +05:30
  for this project
- if @shared_runners_count.zero?
2016-11-03 12:29:30 +05:30
This GitLab server does not provide any shared Runners yet.
Please use the specific Runners or ask your administrator to create one.
2015-09-25 12:07:36 +05:30
- else
2016-11-03 12:29:30 +05:30
%h4.underlined-title Available shared Runners : #{@shared_runners_count}
2015-09-25 12:07:36 +05:30
%ul.bordered-list.available-shared-runners
2017-08-17 22:00:37 +05:30
= render partial: 'projects/runners/runner', collection: @shared_runners, as: :runner