2015-11-10 16:23:49 -05:00
|
|
|
%h3 Shared Runners
|
2015-08-25 21:42:46 -04:00
|
|
|
|
2016-04-15 09:51:41 -04:00
|
|
|
.bs-callout.bs-callout-warning.shared-runners-description
|
2016-10-06 18:01:42 -04:00
|
|
|
- if current_application_settings.shared_runners_text.present?
|
|
|
|
= markdown_field(current_application_settings, :shared_runners_text)
|
2016-04-15 09:51:41 -04:00
|
|
|
- else
|
2015-11-10 16:23:49 -05:00
|
|
|
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-08-25 21:42:46 -04:00
|
|
|
%hr
|
2015-12-04 06:55:23 -05: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-11-10 16:23:49 -05:00
|
|
|
Disable shared Runners
|
2015-08-25 21:42:46 -04:00
|
|
|
- else
|
2015-12-04 06:55:23 -05:00
|
|
|
= link_to toggle_shared_runners_namespace_project_runners_path(@project.namespace, @project), class: 'btn btn-success', method: :post do
|
2015-11-10 16:23:49 -05:00
|
|
|
Enable shared Runners
|
2015-08-25 21:42:46 -04:00
|
|
|
for this project
|
|
|
|
|
|
|
|
- if @shared_runners_count.zero?
|
2015-11-10 16:23:49 -05:00
|
|
|
This GitLab server does not provide any shared Runners yet.
|
|
|
|
Please use the specific Runners or ask your administrator to create one.
|
2015-08-25 21:42:46 -04:00
|
|
|
- else
|
2015-11-10 16:23:49 -05:00
|
|
|
%h4.underlined-title Available shared Runners : #{@shared_runners_count}
|
2015-08-25 21:42:46 -04:00
|
|
|
%ul.bordered-list.available-shared-runners
|
2015-09-25 12:03:41 -04:00
|
|
|
= render partial: 'runner', collection: @shared_runners, as: :runner
|
2015-08-25 21:42:46 -04:00
|
|
|
- if @shared_runners_count > 10
|
|
|
|
.light
|
|
|
|
and #{@shared_runners_count - 10} more...
|