diff options
author | Stan Hu <stanhu@gmail.com> | 2020-09-19 23:30:32 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2020-09-21 07:53:12 +0300 |
commit | b62da200fb1559b6014f392c9c2bb2ebda9ee3d7 (patch) | |
tree | 4ba4936d677c7e7412fd9c701cd201952ea4175c /STYLE.md | |
parent | 2f16d97afa2e8accb4144f04e2e1e90bf4d1e9fb (diff) |
Pass correlation ID to hooks
Previously the `correlation_id` was not passed along the `X-Request-Id`
header to the GitLab API requests
(e.g. `/api/v4/internal/{pre_receive,post_receive}`). Now we extract the
`CORRELATION_ID` environment variable, store it in the context for the
gitaly-hooks binary, and pass the context along to the API requests.
This requires an update to gitlab-shell to support this:
https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/413
Fixes https://gitlab.com/gitlab-org/gitaly/-/issues/2725
Diffstat (limited to 'STYLE.md')
0 files changed, 0 insertions, 0 deletions