1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
.gl-mb-5
#update-shared-runners-form{ data: group_shared_runners_settings_data(@group) }
- if @group.licensed_feature_available?(:stale_runner_cleanup_for_namespace)
.gl-mb-5
#stale-runner-cleanup-form{ data: { group_full_path: @group.full_path, stale_timeout_secs: ::Ci::Runner::STALE_TIMEOUT.to_i } }
- if @group.root? && Gitlab::CurrentSettings.allow_runner_registration_token
-# Only available to top-level groups when the registration token is available in the instance
.gl-mb-5
= gitlab_ui_form_for @group, url: group_settings_ci_cd_path(@group, anchor: 'runners-settings') do |f|
= f.hidden_field :allow_runner_registration_token, class: 'js-allow-runner-registration-token-input', value: @group.allow_runner_registration_token?
= render Pajamas::ToggleComponent.new(classes: 'js-allow-runner-registration-token-toggle',
label: s_("GroupSettings|Allow members of projects and groups to create runners with runner registration tokens"),
is_checked: @group.allow_runner_registration_token?) do
= s_("GroupSettings|When disabled, members cannot use runner registration tokens to register runners. Members can use runner authentication tokens instead as the more secure registration method.")
|