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}
|
|
|
|
.pull-right
|
|
|
|
- if @runner.shared?
|
|
|
|
%span.runner-state.runner-state-shared
|
|
|
|
Shared
|
|
|
|
- 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
|
|
|
|
%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'
|
2016-06-22 15:30:34 +05:30
|
|
|
%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|
|
2015-11-26 14:37:03 +05:30
|
|
|
%span.label.label-primary
|
|
|
|
= 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
|
|
|
|
#{time_ago_in_words(@runner.contacted_at)} ago
|
|
|
|
- else
|
|
|
|
Never
|