debian-mirror-gitlab/app/views/shared/runners/show.html.haml

72 lines
1.6 KiB
Text
Raw Normal View History

2015-11-26 14:37:03 +05:30
- page_title "#{@runner.description} ##{@runner.id}", "Runners"
2015-09-25 12:07:36 +05:30
2015-11-26 14:37:03 +05:30
%h3.page-title
Runner ##{@runner.id}
2018-11-08 19:23:39 +05:30
.float-right
- if @runner.instance_type?
2015-11-26 14:37:03 +05:30
%span.runner-state.runner-state-shared
Shared
2018-10-15 14:42:47 +05:30
- elsif @runner.group_type?
%span.runner-state.runner-state-shared
Group
2015-11-26 14:37:03 +05:30
- else
%span.runner-state.runner-state-specific
Specific
.table-holder
%table.table
%thead
%tr
%th Property Name
%th Value
%tr
2016-06-02 11:05:42 +05:30
%td Active
%td= @runner.active? ? 'Yes' : 'No'
2018-03-17 18:26:18 +05:30
%tr
%td Protected
2018-12-13 13:39:08 +05:30
%td= @runner.ref_protected? ? 'Yes' : 'No'
2016-06-02 11:05:42 +05:30
%tr
%td Can run untagged jobs
%td= @runner.run_untagged? ? 'Yes' : 'No'
2018-10-15 14:42:47 +05:30
- unless @runner.group_type?
%tr
%td Locked to this project
%td= @runner.locked? ? 'Yes' : 'No'
2016-06-02 11:05:42 +05:30
%tr
%td Tags
2015-11-26 14:37:03 +05:30
%td
2017-08-17 22:00:37 +05:30
- @runner.tag_list.sort.each do |tag|
2018-11-08 19:23:39 +05:30
%span.badge.badge-primary
2015-11-26 14:37:03 +05:30
= tag
%tr
2016-06-02 11:05:42 +05:30
%td Name
%td= @runner.name
2015-11-26 14:37:03 +05:30
%tr
2016-06-02 11:05:42 +05:30
%td Version
%td= @runner.version
2018-03-27 19:54:05 +05:30
%tr
%td IP Address
%td= @runner.ip_address
2015-11-26 14:37:03 +05:30
%tr
2016-06-02 11:05:42 +05:30
%td Revision
%td= @runner.revision
2015-11-26 14:37:03 +05:30
%tr
2016-06-02 11:05:42 +05:30
%td Platform
%td= @runner.platform
2015-11-26 14:37:03 +05:30
%tr
2016-06-02 11:05:42 +05:30
%td Architecture
%td= @runner.architecture
2015-11-26 14:37:03 +05:30
%tr
2016-06-02 11:05:42 +05:30
%td Description
%td= @runner.description
2018-05-09 12:01:36 +05:30
%tr
%td Maximum job timeout
%td= @runner.maximum_timeout_human_readable
2015-09-25 12:07:36 +05:30
%tr
2016-06-02 11:05:42 +05:30
%td Last contact
2015-11-26 14:37:03 +05:30
%td
- if @runner.contacted_at
2018-11-08 19:23:39 +05:30
= time_ago_with_tooltip @runner.contacted_at
2015-11-26 14:37:03 +05:30
- else
Never