2018-11-08 19:23:39 +05:30
|
|
|
- link = link_to _('Runners API'), help_page_path('api/runners.md')
|
2018-10-15 14:42:47 +05:30
|
|
|
|
|
|
|
%h3
|
|
|
|
= _('Group Runners')
|
|
|
|
|
|
|
|
.bs-callout.bs-callout-warning
|
|
|
|
= _('GitLab Group Runners can execute code for all the projects in this group.')
|
|
|
|
= _('They can be managed using the %{link}.').html_safe % { link: link }
|
|
|
|
|
|
|
|
-# Proper policies should be implemented per
|
|
|
|
-# https://gitlab.com/gitlab-org/gitlab-ce/issues/45894
|
|
|
|
- if can?(current_user, :admin_pipeline, @group)
|
|
|
|
= render partial: 'ci/runner/how_to_setup_runner',
|
2018-12-05 23:21:45 +05:30
|
|
|
locals: { registration_token: @group.runners_token,
|
|
|
|
type: 'group',
|
|
|
|
reset_token_url: reset_registration_token_group_settings_ci_cd_path }
|
2018-10-15 14:42:47 +05:30
|
|
|
|
|
|
|
- if @group.runners.empty?
|
|
|
|
%h4.underlined-title
|
|
|
|
= _('This group does not provide any group Runners yet.')
|
|
|
|
|
|
|
|
- else
|
|
|
|
%h4.underlined-title
|
|
|
|
= _('Available group Runners : %{runners}.').html_safe % { runners: @group.runners.count }
|
|
|
|
%ul.bordered-list
|
|
|
|
= render partial: 'groups/runners/runner', collection: @group.runners, as: :runner
|