summaryrefslogtreecommitdiff
path: root/app/views/projects/runners/_specific_runners.html.haml
blob: 6b8e6bd4feef60ded81a588f27b07699a252e51a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
%h3 Specific Runners

.bs-callout.help-callout
  %h4 How to setup a specific Runner for a new project

  %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).
    %li
      Specify the following URL during the Runner setup:
      %code= ci_root_url(only_path: false)
    %li
      Use the following registration token during setup:
      %code= @project.runners_token
    %li
      Start the Runner!


- if @project_runners.any?
  %h4.underlined-title Runners activated for this project
  %ul.bordered-list.activated-specific-runners
    = render partial: 'projects/runners/runner', collection: @project_runners, as: :runner

- if @assignable_runners.any?
  %h4.underlined-title Available specific runners
  %ul.bordered-list.available-specific-runners
    = render partial: 'projects/runners/runner', collection: @assignable_runners, as: :runner
  = paginate @assignable_runners, theme: "gitlab"