-
- Downloads
There was an error fetching the commit references. Please try again later.
Gitaly Server info for admin panel
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.
Showing
- GITALY_SERVER_VERSION 1 addition, 1 deletionGITALY_SERVER_VERSION
- Gemfile 1 addition, 1 deletionGemfile
- Gemfile.lock 4 additions, 4 deletionsGemfile.lock
- app/controllers/admin/gitaly_servers_controller.rb 5 additions, 0 deletionsapp/controllers/admin/gitaly_servers_controller.rb
- app/views/admin/dashboard/index.html.haml 2 additions, 8 deletionsapp/views/admin/dashboard/index.html.haml
- app/views/admin/gitaly_servers/index.html.haml 31 additions, 0 deletionsapp/views/admin/gitaly_servers/index.html.haml
- changelogs/unreleased/zj-gitaly-server-info.yml 5 additions, 0 deletionschangelogs/unreleased/zj-gitaly-server-info.yml
- config/routes/admin.rb 2 additions, 0 deletionsconfig/routes/admin.rb
- lib/gitaly/server.rb 43 additions, 0 deletionslib/gitaly/server.rb
- lib/gitlab/gitaly_client/server_service.rb 16 additions, 0 deletionslib/gitlab/gitaly_client/server_service.rb
- locale/gitlab.pot 400 additions, 92 deletionslocale/gitlab.pot
- spec/controllers/admin/gitaly_servers_controller_spec.rb 15 additions, 0 deletionsspec/controllers/admin/gitaly_servers_controller_spec.rb
- spec/lib/gitaly/server_spec.rb 30 additions, 0 deletionsspec/lib/gitaly/server_spec.rb
Loading
| Loading
| @@ -406,7 +406,7 @@ group :ed25519 do |
end | ||
# Gitaly GRPC client | ||
gem 'gitaly-proto', '~> 0.78.0', require: 'gitaly' | ||
gem 'gitaly-proto', '~> 0.83.0', require: 'gitaly' | ||
gem 'toml-rb', '~> 0.3.15', require: false | ||
Loading
| Loading
|
lib/gitaly/server.rb
0 → 100644
lib/gitlab/gitaly_client/server_service.rb
0 → 100644
This diff is collapsed.
spec/lib/gitaly/server_spec.rb
0 → 100644
Please register or sign in to comment