debian-mirror-gitlab/app/views/groups/runners/_group_runners.html.haml

24 lines
914 B
Text
Raw Normal View History

2021-03-08 18:12:59 +05:30
- link = link_to _('Runner API'), help_page_path('api/runners.md')
2018-10-15 14:42:47 +05:30
2021-03-08 18:12:59 +05:30
%h4
= _('Group runners')
2018-10-15 14:42:47 +05:30
2021-03-08 18:12:59 +05:30
%p
= _('These runners are shared across projects in this group.')
= _('Group runners can be managed with the %{link}.').html_safe % { link: link }
2018-10-15 14:42:47 +05:30
-# Proper policies should be implemented per
2019-12-04 20:38:33 +05:30
-# https://gitlab.com/gitlab-org/gitlab-foss/issues/45894
2018-10-15 14:42:47 +05:30
- if can?(current_user, :admin_pipeline, @group)
2019-12-21 20:55:43 +05:30
= render partial: 'ci/runner/how_to_setup_runner_automatically',
locals: { type: 'group',
clusters_path: group_clusters_path(@group) }
%hr
2018-10-15 14:42:47 +05:30
= render partial: 'ci/runner/how_to_setup_runner',
2018-12-05 23:21:45 +05:30
locals: { registration_token: @group.runners_token,
type: 'group',
2021-03-11 19:13:27 +05:30
reset_token_url: reset_registration_token_group_settings_ci_cd_path,
project_path: '',
2021-04-29 21:17:54 +05:30
group_path: @group.full_path }
2021-03-08 18:12:59 +05:30
%br