2020-06-22 12:08:47 +00:00
|
|
|
- page_title "#{@runner.description} ##{@runner.id}", _("Runners")
|
2015-11-03 10:44:07 +00:00
|
|
|
|
2021-04-15 18:09:01 +00:00
|
|
|
%h2.page-title
|
|
|
|
= s_('Runners|Runner #%{runner_id}' % { runner_id: @runner.id })
|
|
|
|
= render 'shared/runners/runner_type_badge', runner: @runner
|
2015-08-26 01:42:46 +00:00
|
|
|
|
2015-10-19 09:19:45 +00:00
|
|
|
.table-holder
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
2020-09-08 15:08:41 +00:00
|
|
|
%th= s_('Runners|Property Name')
|
|
|
|
%th= s_('Runners|Value')
|
2015-08-26 01:42:46 +00:00
|
|
|
%tr
|
2020-09-08 15:08:41 +00:00
|
|
|
%td= s_('Runners|Active')
|
|
|
|
%td= @runner.active? ? _('Yes') : _('No')
|
2017-07-31 12:59:04 +00:00
|
|
|
%tr
|
2020-09-08 15:08:41 +00:00
|
|
|
%td= s_('Runners|Protected')
|
|
|
|
%td= @runner.ref_protected? ? _('Yes') : _('No')
|
2016-05-05 10:20:33 +00:00
|
|
|
%tr
|
2020-09-08 15:08:41 +00:00
|
|
|
%td= s_('Runners|Can run untagged jobs')
|
|
|
|
%td= @runner.run_untagged? ? _('Yes') : _('No')
|
2018-05-04 11:59:19 +00:00
|
|
|
- unless @runner.group_type?
|
|
|
|
%tr
|
2020-09-08 15:08:41 +00:00
|
|
|
%td= s_('Runners|Locked to this project')
|
|
|
|
%td= @runner.locked? ? _('Yes') : _('No')
|
2016-05-05 10:20:33 +00:00
|
|
|
%tr
|
2020-09-08 15:08:41 +00:00
|
|
|
%td= s_('Runners|Tags')
|
2015-10-19 09:19:45 +00:00
|
|
|
%td
|
2017-02-14 22:28:35 +00:00
|
|
|
- @runner.tag_list.sort.each do |tag|
|
2018-04-13 19:35:23 +00:00
|
|
|
%span.badge.badge-primary
|
2015-10-19 09:19:45 +00:00
|
|
|
= tag
|
|
|
|
%tr
|
2020-09-08 15:08:41 +00:00
|
|
|
%td= s_('Runners|Name')
|
2016-05-05 10:20:33 +00:00
|
|
|
%td= @runner.name
|
2015-10-19 09:19:45 +00:00
|
|
|
%tr
|
2020-09-08 15:08:41 +00:00
|
|
|
%td= s_('Runners|Version')
|
2016-05-05 10:20:33 +00:00
|
|
|
%td= @runner.version
|
2018-02-26 03:40:43 +00:00
|
|
|
%tr
|
2020-09-08 15:08:41 +00:00
|
|
|
%td= s_('Runners|IP Address')
|
2018-02-26 03:40:43 +00:00
|
|
|
%td= @runner.ip_address
|
2015-10-19 09:19:45 +00:00
|
|
|
%tr
|
2020-09-08 15:08:41 +00:00
|
|
|
%td= s_('Runners|Revision')
|
2016-05-05 10:20:33 +00:00
|
|
|
%td= @runner.revision
|
2015-10-19 09:19:45 +00:00
|
|
|
%tr
|
2020-09-08 15:08:41 +00:00
|
|
|
%td= s_('Runners|Platform')
|
2016-05-05 10:20:33 +00:00
|
|
|
%td= @runner.platform
|
2015-10-19 09:19:45 +00:00
|
|
|
%tr
|
2020-09-08 15:08:41 +00:00
|
|
|
%td= s_('Runners|Architecture')
|
2016-05-05 10:20:33 +00:00
|
|
|
%td= @runner.architecture
|
2015-10-19 09:19:45 +00:00
|
|
|
%tr
|
2020-09-08 15:08:41 +00:00
|
|
|
%td= s_('Runners|Description')
|
2016-05-05 10:20:33 +00:00
|
|
|
%td= @runner.description
|
2018-02-19 17:41:50 +00:00
|
|
|
%tr
|
2020-09-08 15:08:41 +00:00
|
|
|
%td= s_('Runners|Maximum job timeout')
|
2018-03-06 15:14:23 +00:00
|
|
|
%td= @runner.maximum_timeout_human_readable
|
2015-10-19 09:19:45 +00:00
|
|
|
%tr
|
2020-09-08 15:08:41 +00:00
|
|
|
%td= s_('Runners|Last contact')
|
2015-10-19 09:19:45 +00:00
|
|
|
%td
|
|
|
|
- if @runner.contacted_at
|
2018-05-09 16:38:30 +00:00
|
|
|
= time_ago_with_tooltip @runner.contacted_at
|
2015-10-19 09:19:45 +00:00
|
|
|
- else
|
2020-09-08 15:08:41 +00:00
|
|
|
= s_('Never')
|