2018-11-08 19:23:39 +05:30
|
|
|
%h3
|
|
|
|
= _('Specific Runners')
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2018-12-05 23:21:45 +05:30
|
|
|
.bs-callout.help-callout
|
|
|
|
.append-bottom-10
|
|
|
|
%h4= _('Set up a specific Runner automatically')
|
|
|
|
|
|
|
|
%p
|
|
|
|
- link_to_help_page = link_to(_('Learn more about Kubernetes'),
|
|
|
|
help_page_path('user/project/clusters/index'),
|
|
|
|
target: '_blank',
|
|
|
|
rel: 'noopener noreferrer')
|
|
|
|
|
|
|
|
= _('You can easily install a Runner on a Kubernetes cluster. %{link_to_help_page}').html_safe % { link_to_help_page: link_to_help_page }
|
|
|
|
|
|
|
|
%ol
|
|
|
|
%li
|
|
|
|
= _('Click the button below to begin the install process by navigating to the Kubernetes page')
|
|
|
|
%li
|
|
|
|
= _('Select an existing Kubernetes cluster or create a new one')
|
|
|
|
%li
|
|
|
|
= _('From the Kubernetes cluster details view, install Runner from the applications list')
|
|
|
|
|
|
|
|
= link_to _('Install Runner on Kubernetes'),
|
|
|
|
project_clusters_path(@project),
|
|
|
|
class: 'btn btn-info'
|
|
|
|
%hr
|
|
|
|
= render partial: 'ci/runner/how_to_setup_runner',
|
|
|
|
locals: { registration_token: @project.runners_token,
|
|
|
|
type: 'specific',
|
|
|
|
reset_token_url: reset_registration_token_namespace_project_settings_ci_cd_path }
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
- if @project_runners.any?
|
2018-12-23 12:14:25 +05:30
|
|
|
%h4.underlined-title= _('Runners activated for this project')
|
2015-09-25 12:07:36 +05:30
|
|
|
%ul.bordered-list.activated-specific-runners
|
2017-08-17 22:00:37 +05:30
|
|
|
= render partial: 'projects/runners/runner', collection: @project_runners, as: :runner
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
- if @assignable_runners.any?
|
2018-12-23 12:14:25 +05:30
|
|
|
%h4.underlined-title= _('Available specific runners')
|
2015-09-25 12:07:36 +05:30
|
|
|
%ul.bordered-list.available-specific-runners
|
2017-08-17 22:00:37 +05:30
|
|
|
= render partial: 'projects/runners/runner', collection: @assignable_runners, as: :runner
|
2018-11-20 20:47:30 +05:30
|
|
|
= paginate @assignable_runners, theme: "gitlab", :params => { :anchor => '#js-runners-settings' }
|