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