-
- 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 Push implemented in Workhorse. We want to use it for Geo Git Push calls. **Solution** * Define a boolean parameter `GeoProxyPushSSHDirectToPrimary` hidden behind the feature flag. * Make a call to `ssh-receive-pack` endpoint for git push commands. Changelog: added
Showing
- internal/command/githttp/push.go 24 additions, 0 deletionsinternal/command/githttp/push.go
- internal/command/githttp/push_test.go 53 additions, 0 deletionsinternal/command/githttp/push_test.go
- internal/command/receivepack/receivepack.go 1 addition, 0 deletionsinternal/command/receivepack/receivepack.go
- internal/gitlabnet/accessverifier/client.go 1 addition, 0 deletionsinternal/gitlabnet/accessverifier/client.go
- internal/gitlabnet/git/client.go 11 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