summaryrefslogtreecommitdiff
path: root/doc/architecture.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/architecture.md')
-rw-r--r--doc/architecture.md37
1 files changed, 2 insertions, 35 deletions
diff --git a/doc/architecture.md b/doc/architecture.md
index ff60273..d413e7d 100644
--- a/doc/architecture.md
+++ b/doc/architecture.md
@@ -1,37 +1,4 @@
----
-stage: Create
-group: Source Code
-info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
----
-
# GitLab Shell architecture
-```mermaid
-sequenceDiagram
- participant Git on client
- participant SSH server
- participant AuthorizedKeysCommand
- participant GitLab Shell
- participant Rails
- participant Gitaly
- participant Git on server
-
- Note left of Git on client: git fetch
- Git on client->>+SSH server: ssh git fetch-pack request
- SSH server->>+AuthorizedKeysCommand: gitlab-shell-authorized-keys-check git AAAA...
- AuthorizedKeysCommand->>+Rails: GET /internal/api/authorized_keys?key=AAAA...
- Note right of Rails: Lookup key ID
- Rails-->>-AuthorizedKeysCommand: 200 OK, command="gitlab-shell upload-pack key_id=1"
- AuthorizedKeysCommand-->>-SSH server: command="gitlab-shell upload-pack key_id=1"
- SSH server->>+GitLab Shell: gitlab-shell upload-pack key_id=1
- GitLab Shell->>+Rails: GET /internal/api/allowed?action=upload_pack&key_id=1
- Note right of Rails: Auth check
- Rails-->>-GitLab Shell: 200 OK, { gitaly: ... }
- GitLab Shell->>+Gitaly: SSHService.SSHUploadPack request
- Gitaly->>+Git on server: git upload-pack request
- Note over Git on client,Git on server: Bidirectional communication between Git client and server
- Git on server-->>-Gitaly: git upload-pack response
- Gitaly -->>-GitLab Shell: SSHService.SSHUploadPack response
- GitLab Shell-->>-SSH server: gitlab-shell upload-pack response
- SSH server-->>-Git on client: ssh git fetch-pack response
-```
+The diagram on this page
+[has moved into the `gitlab` repository](https://docs.gitlab.com/ee/development/gitlab_shell/#gitlab-shell-architecture).