gitlab-org--gitlab-foss/app/views/ci/runner/_how_to_setup_runner.html.haml

22 lines
953 B
Plaintext
Raw Normal View History

2018-07-17 16:17:56 +00:00
- link = link_to _("Install GitLab Runner"), 'https://docs.gitlab.com/runner/install/', target: '_blank'
.gl-mb-3
%h4= _("Set up a %{type} Runner manually") % { type: type }
%ol
%li
2018-07-17 16:17:56 +00:00
= link.html_safe
%li
= _("Specify the following URL during the Runner setup:")
%code#coordinator_address= root_url(only_path: false)
= clipboard_button(target: '#coordinator_address', title: _("Copy URL"), class: "btn-transparent btn-clipboard")
%li
= _("Use the following registration token during setup:")
%code#registration_token= registration_token
= clipboard_button(target: '#registration_token', title: _("Copy token"), class: "btn-transparent btn-clipboard")
.gl-mt-3.gl-mb-3
= button_to _("Reset runners registration token"), reset_token_url,
method: :put, class: 'gl-button btn btn-default',
data: { confirm: _("Are you sure you want to reset registration token?") }
%li
= _("Start the Runner!")