Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • omnibus-gitlab omnibus-gitlab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,059
    • Issues 1,059
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 53
    • Merge requests 53
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • omnibus-gitlabomnibus-gitlab
  • Merge requests
  • !4592

Make Gitaly internal API calls go through Workhorse

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Stan Hu requested to merge sh-route-internal-api-workhorse into master Sep 24, 2020
  • Overview 13
  • Commits 2
  • Pipelines 4
  • Changes 6

This will not only help improve observability of API calls made by Gitaly, but it will also enable Gitaly to download LFS files via the API to support archive downloads (gitlab#15079 (closed)).

Closes #5666 (closed)

On a single-node Omnibus instance, this results in this change:

  * template[Create Gitaly config.toml] action create
    - update content in file /var/opt/gitlab/gitaly/config.toml from 9f6716 to d47295
    --- /var/opt/gitlab/gitaly/config.toml	2020-09-24 03:56:33.415040226 +0000
    +++ /var/opt/gitlab/gitaly/.chef-config20200924-15565-1x6fwe4.toml	2020-09-24 04:00:53.517609937 +0000
    @@ -36,7 +36,9 @@
     dir = "/opt/gitlab/embedded/service/gitlab-shell"

     [gitlab]
    -url = 'http://127.0.0.1:8080'
    +url = 'http+unix://%2Fvar%2Fopt%2Fgitlab%2Fgitlab-workhorse%2Fsocket'
    +relative_url_root = ''
    +
Edited Sep 24, 2020 by Stan Hu
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: sh-route-internal-api-workhorse