Create go binary to execute hooks
This is a follow up from: !1321 (comment 183988119)
This binary is the first step in migrating away from ruby hooks to a pure go implementation. This first step adds a go binary.
Current execution path:
- ReceivePath RPCs sets core.hooksPath=ruby/git-hooks
-
ruby/git-hooks/<pre-receive>|<post-receive>|<update>
runsruby/gitlab-shell/<pre-receive>|<post-receive>|<update>
New execution path:
- ReceivePath RPCs sets core.hooksPath=ruby/git-hooks
-
ruby/git-hooks/<pre-receive>|<post-receive>|<update>
runsbin/hooks <pre-receive>|<post-receive>|<update>
-
bin/hooks
callsruby/gitlab-shell/<pre-receive>|<post-receive>|<update>
Part of: #1701 (closed)
Closes: #1859 (closed)
Edited by GitLab Release Tools Bot