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

30 lines
1.2 KiB
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
-# Proper policies should be implemented per
2019-12-04 20:38:33 +05:30
-# https://gitlab.com/gitlab-org/gitlab-foss/issues/45894
2021-09-30 23:02:18 +05:30
.bs-callout.help-callout
2021-10-27 15:23:28 +05:30
%p
= _('These runners are shared across projects in this group.')
= _('Group runners can be managed with the %{link}.').html_safe % { link: link }
2022-01-26 12:08:38 +05:30
- if can?(current_user, :register_group_runners, @group)
2021-09-30 23:02:18 +05:30
- if params[:ci_runner_templates]
%hr
= render partial: 'ci/runner/setup_runner_in_aws',
locals: { registration_token: @group.runners_token }
2021-09-04 01:27:46 +05:30
%hr
2021-09-30 23:02:18 +05:30
= render partial: 'ci/runner/how_to_setup_runner',
locals: { registration_token: @group.runners_token,
type: 'group',
reset_token_url: reset_registration_token_group_settings_ci_cd_path,
project_path: '',
group_path: @group.full_path }
%br
- else
= _('Please contact an admin to register runners.')
= link_to _('Learn more.'), help_page_path('user/admin_area/settings/continuous_integration', anchor: 'runner-registration'), target: '_blank', rel: 'noopener noreferrer'