94a3dbca33
Implements the client side for gitlab-org/gitaly#819. Which is a server info command. This checks the server version and git binairy version on the server. A small UI was added for administrators, so they can check the status of the Gitaly server. This is done for each storage the monolith knows. Because of this commit, gitlab-org/gitlab-ce!15580 is now closed. That MR removed the Git version too, but didn't replace it with anything.
31 lines
865 B
Text
31 lines
865 B
Text
- breadcrumb_title _("Gitaly Servers")
|
|
|
|
%h3.page-title= _("Gitaly Servers")
|
|
%hr
|
|
.gitaly_servers
|
|
- if @gitaly_servers.any?
|
|
.table-holder
|
|
%table.table.responsive-table
|
|
%thead.hidden-sm.hidden-xs
|
|
%tr
|
|
%th= _("Storage")
|
|
%th= n_("Gitaly|Address")
|
|
%th= _("Server version")
|
|
%th= _("Git version")
|
|
%th= _("Up to date")
|
|
- @gitaly_servers.each do |server|
|
|
%tr
|
|
%td
|
|
= server.storage
|
|
%td
|
|
= server.address
|
|
%td
|
|
= server.server_version
|
|
%td
|
|
= server.git_binary_version
|
|
%td
|
|
= boolean_to_icon(server.up_to_date?)
|
|
- else
|
|
.empty-state
|
|
.text-center
|
|
%h4= _("No connection could be made to a Gitaly Server, please check your logs!")
|