2016-11-03 12:29:30 +05:30
|
|
|
%h3 Shared Runners
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.bs-callout.bs-callout-warning.shared-runners-description
|
2016-11-03 12:29:30 +05:30
|
|
|
- if current_application_settings.shared_runners_text.present?
|
|
|
|
= markdown_field(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?
|
2017-09-10 17:25:29 +05:30
|
|
|
= link_to toggle_shared_runners_project_runners_path(@project), class: 'btn btn-warning', 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
|
2015-09-25 12:07:36 +05:30
|
|
|
- if @shared_runners_count > 10
|
|
|
|
.light
|
|
|
|
and #{@shared_runners_count - 10} more...
|