We are experimenting with Subgit and successfully translated a SVN repository to Gitlab. Subsequent SVN commits are also translated without problem.
However we cannot seem to get the Hook’s working to trigger the gitlab-ci. Subgit installs the custom_hooks folder which contains the post-receive hook. The daemon tries to run a hook which doesn’t exist though (customs_hooks/user-post-receive).
What we tried was triggering the post-receive hook manually(with the correct input). I’ve also renamed the post-receive hook to user-post-receive. In both instances it says: Running Java post-receive hook. And as far as the output is concerned, works. However we see nothing in the gitlab rails/sidekiq log that indicates any connection has been made.
I feel like we are missing something obvious in the config. I’ve run through the documentation multiple times and I’ve done everything as described. I’ve also googled my ass of and although some people seem to have similar problems. None of the described fixes appear to work.
At this point we are considering creating a script that curls the gitlab-ci API of this particular repo and let subgit call that instead. However this is not ideal and I’m hoping someone can help me figure out what I’m doing wrong.