gitlab-org--gitlab-foss/app/views/projects/runners/_specific_runners.html.haml

30 lines
971 B
Text
Raw Normal View History

2015-08-25 21:42:46 -04:00
%h3 Specific runners
.bs-callout.help-callout
%h4 How to setup a new project specific runner
%ol
%li
Install GitLab Runner software.
Checkout the #{link_to 'GitLab Runner section', 'https://about.gitlab.com/gitlab-ci/#gitlab-runner', target: '_blank'} to install it
%li
Specify the following URL during runner setup:
2015-08-25 21:42:46 -04:00
%code #{ci_root_url(only_path: false)}
%li
Use the following registration token during setup:
2015-12-11 11:44:00 -05:00
%code #{@project.runners_token}
2015-08-25 21:42:46 -04:00
%li
Start runner!
- if @project_runners.any?
2015-08-25 21:42:46 -04:00
%h4.underlined-title Runners activated for this project
%ul.bordered-list.activated-specific-runners
= render partial: 'runner', collection: @project_runners, as: :runner
2015-08-25 21:42:46 -04:00
- if @assignable_runners.any?
2015-08-25 21:42:46 -04:00
%h4.underlined-title Available specific runners
%ul.bordered-list.available-specific-runners
= render partial: 'runner', collection: @assignable_runners, as: :runner
= paginate @assignable_runners