-
- Downloads
Geo: Replace Git over HTTP calls with Workhorse HTTP endpoint for SSH
Contributes to https://gitlab.com/gitlab-org/gitlab-shell/-/issues/762 **Problem** There is a new endpoint for SSH Pull implemented in Workhorse. We want to use it for Geo Git Pull calls. **Solution** * Define a boolean parameter `GeoProxyFetchSSHDirectToPrimary` hidden behind the feature flag. * Make a call to `ssh-upload-pack` endpoint for git pull commands. Changelog: added
Showing
- internal/command/githttp/pull.go 17 additions, 0 deletionsinternal/command/githttp/pull.go
- internal/command/githttp/pull_test.go 41 additions, 0 deletionsinternal/command/githttp/pull_test.go
- internal/gitlabnet/accessverifier/client.go 1 addition, 0 deletionsinternal/gitlabnet/accessverifier/client.go
- internal/gitlabnet/git/client.go 10 additions, 0 deletionsinternal/gitlabnet/git/client.go
- internal/gitlabnet/git/client_test.go 27 additions, 0 deletionsinternal/gitlabnet/git/client_test.go
Please register or sign in to comment