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

30 lines
1 KiB
Text
Raw Normal View History

%h3 Specific Runners
2015-08-25 21:42:46 -04:00
.bs-callout.help-callout
%h4 How to setup a specific Runner for a new project
2015-08-25 21:42:46 -04:00
%ol
%li
Install a Runner compatible with GitLab CI
(checkout the #{link_to 'GitLab Runner section', 'https://about.gitlab.com/gitlab-ci/#gitlab-runner', target: '_blank'} for information on how to install it).
2015-08-25 21:42:46 -04:00
%li
Specify the following URL during the 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 the Runner!
2015-08-25 21:42:46 -04:00
- 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, theme: "gitlab"