2021-01-12 21:10:47 +00:00
|
|
|
- link = link_to _("Install GitLab Runner and ensure it's running."), 'https://docs.gitlab.com/runner/install/', target: '_blank'
|
2020-07-24 00:09:34 +00:00
|
|
|
.gl-mb-3
|
2021-07-27 09:10:08 +00:00
|
|
|
%h5= _("Set up a %{type} Runner for a project") % { type: type }
|
2018-02-21 16:09:06 +00:00
|
|
|
%ol
|
|
|
|
%li
|
2018-07-17 16:17:56 +00:00
|
|
|
= link.html_safe
|
2018-02-21 16:09:06 +00:00
|
|
|
%li
|
2021-01-12 21:10:47 +00:00
|
|
|
= _("Register the runner with this URL:")
|
|
|
|
%br
|
2018-02-21 16:09:06 +00:00
|
|
|
%code#coordinator_address= root_url(only_path: false)
|
2019-10-09 12:06:13 +00:00
|
|
|
= clipboard_button(target: '#coordinator_address', title: _("Copy URL"), class: "btn-transparent btn-clipboard")
|
2021-01-12 21:10:47 +00:00
|
|
|
%br
|
|
|
|
%br
|
|
|
|
= _("And this registration token:")
|
|
|
|
%br
|
2021-05-19 21:12:42 +00:00
|
|
|
%code#registration_token{ data: {testid: 'registration_token' } }= registration_token
|
2019-10-09 12:06:13 +00:00
|
|
|
= clipboard_button(target: '#registration_token', title: _("Copy token"), class: "btn-transparent btn-clipboard")
|
2021-01-12 21:10:47 +00:00
|
|
|
|
|
|
|
.gl-mt-3.gl-mb-3
|
|
|
|
= button_to _("Reset registration token"), reset_token_url,
|
|
|
|
method: :put, class: 'gl-button btn btn-default',
|
|
|
|
data: { confirm: _("Are you sure you want to reset the registration token?") }
|
2021-01-26 18:09:30 +00:00
|
|
|
|
2021-04-07 18:09:45 +00:00
|
|
|
#js-install-runner
|