summaryrefslogtreecommitdiff
path: root/app/views/ci/admin/runners/index.html.haml
blob: bacaccfbffa117ef7bbfab002e6c24183ad2daf4 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
%p.lead
  %span To register a new runner you should enter the following registration token. With this token the runner will request a unique runner token and use that for future communication.
  %code #{GitlabCi::REGISTRATION_TOKEN}

.bs-callout
  %p
    A 'runner' is a process which runs a build.
    You can setup as many runners as you need.
    %br
    Runners can be placed on separate users, servers, and even on your local machine.
    %br

  %div
    %span Each runner can be in one of the following states:
    %ul
      %li
        %span.label.label-success shared
        \- run builds from all unassigned projects
      %li
        %span.label.label-info specific
        \- run builds from assigned projects
      %li
        %span.label.label-danger paused
        \- runner will not receive any new builds

.append-bottom-20.clearfix
  .pull-left
    = form_tag ci_admin_runners_path, id: 'runners-search', class: 'form-inline', method: :get do
      .form-group
        = search_field_tag :search, params[:search], class: 'form-control', placeholder: 'Runner description or token', spellcheck: false
      = submit_tag 'Search', class: 'btn'

  .pull-right.light
    Runners with last contact less than a minute ago: #{@active_runners_cnt}

%br

.table-holder
  %table.table
    %thead
      %tr
        %th Type
        %th Runner token
        %th Description
        %th Projects
        %th Builds
        %th Tags
        %th Last contact
        %th

    - @runners.each do |runner|
      = render "ci/admin/runners/runner", runner: runner
= paginate @runners