Commit d9bc0d49 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Add example request flow

parent bfd197f7
......@@ -9,3 +9,16 @@ auth request to GitLab Rails app) -> git-upload-pack
There are two patches in the repo that show what would need to
change in GitLab / NGINX to make this work.
## Example request flow
- start POST repo.git/git-receive-pack to NGINX
- ..start POST repo.git/git-receive-pack to gitlab-git-http-server
- ....start POST repo.git/git-receive-pack to Unicorn for auth
- ....end POST to Unicorn for auth
- ....start git-receive-pack process from gitlab-git-http-server
- ......start POST /api/v3/internal/allowed to Unicorn from Git hook (check protected branches)
- ......end POST to Unicorn from Git hook
- ....end git-receive-pack process
- ..end POST to gitlab-git-http-server
- end POST to NGINX
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment