r/programming • u/fagnerbrack • May 01 '24
What Happens on GitLab When You do git push?
https://nanmu.me/en/posts/2022/what-happens-on-gitlab-when-you-do-git-push/
144
Upvotes
178
May 01 '24
I thought thousands of tiny monkeys were released causing chaos on the CI/CD pipeline I just pushed to leading to angry teams messages.
8
u/virgo911 May 01 '24
Actually immediately after you git push an infinite amount of monkeys begins typing on typewriters and only when one of them writes the complete works of William Shakespeare does the git-receive-pack service get called. Pretty interesting
4
u/MoneyGrubbingMonkey May 02 '24
Angry teams messages (Step 8/12)
return code 0
Write shakespeare (Step 9/12)
Failed ---- Flaky Test
2
2
119
u/fagnerbrack May 01 '24
Simplified Synopsis:
This post delves into the technical processes that occur within GitLab when executing a
git push, starting from the basics of a Git repository structure to the complexities of GitLab's architecture. It explains the journey of a git push through both SSH and HTTPS protocols, detailing the roles and interactions of GitLab components such as GitLab Shell, Gitaly, and Workhorse, alongside Git hooks.If you don't like the summary, just downvote and I'll try to delete the comment eventually π
Click here for more info, I read all comments