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

63 lines
1.7 KiB
Text
Raw Normal View History

2021-06-08 01:23:25 +05:30
- breadcrumb_title runner.short_sha
- page_title "##{runner.id} (#{runner.short_sha})"
2015-09-25 12:07:36 +05:30
2021-04-29 21:17:54 +05:30
%h2.page-title
2021-06-08 01:23:25 +05:30
= s_('Runners|Runner #%{runner_id}' % { runner_id: runner.id })
= render 'shared/runners/runner_type_badge', runner: runner
2015-11-26 14:37:03 +05:30
.table-holder
%table.table
%thead
%tr
2020-11-24 15:15:51 +05:30
%th= s_('Runners|Property Name')
%th= s_('Runners|Value')
2015-11-26 14:37:03 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Active')
2021-06-08 01:23:25 +05:30
%td= runner.active? ? _('Yes') : _('No')
2018-03-17 18:26:18 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Protected')
2021-06-08 01:23:25 +05:30
%td= runner.ref_protected? ? _('Yes') : _('No')
2016-06-02 11:05:42 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Can run untagged jobs')
2021-06-08 01:23:25 +05:30
%td= runner.run_untagged? ? _('Yes') : _('No')
- unless runner.group_type?
2018-10-15 14:42:47 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Locked to this project')
2021-06-08 01:23:25 +05:30
%td= runner.locked? ? _('Yes') : _('No')
2016-06-02 11:05:42 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Tags')
2015-11-26 14:37:03 +05:30
%td
2021-06-08 01:23:25 +05:30
- runner.tag_list.sort.each do |tag|
2022-01-26 12:08:38 +05:30
= gl_badge_tag tag, variant: :info
2015-11-26 14:37:03 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Name')
2021-06-08 01:23:25 +05:30
%td= runner.name
2015-11-26 14:37:03 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Version')
2021-06-08 01:23:25 +05:30
%td= runner.version
2018-03-27 19:54:05 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|IP Address')
2021-06-08 01:23:25 +05:30
%td= runner.ip_address
2015-11-26 14:37:03 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Revision')
2021-06-08 01:23:25 +05:30
%td= runner.revision
2015-11-26 14:37:03 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Platform')
2021-06-08 01:23:25 +05:30
%td= runner.platform
2015-11-26 14:37:03 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Architecture')
2021-06-08 01:23:25 +05:30
%td= runner.architecture
2015-11-26 14:37:03 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Description')
2021-06-08 01:23:25 +05:30
%td= runner.description
2018-05-09 12:01:36 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Maximum job timeout')
2021-06-08 01:23:25 +05:30
%td= runner.maximum_timeout_human_readable
2015-09-25 12:07:36 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Last contact')
2015-11-26 14:37:03 +05:30
%td
2021-06-08 01:23:25 +05:30
- if runner.contacted_at
= time_ago_with_tooltip runner.contacted_at
2015-11-26 14:37:03 +05:30
- else
2021-11-11 11:23:49 +05:30
= _('Never')