gitlab-ci-bot
gitlab-ci-bot copied to clipboard
Instructions
Hey there! I'm super interested in using this, however I'm new to GitLab and your documentation is only an image.
How exactly is this used? Do you add it to GitLab? Does it run externally of GitLab? Do you have any setup instructions? If not, can you write up some quick ones?
Thanks!
I second @DevanB. I'm very interested, but have no idea (found no docs on gitlab/google about custom plugins or similar) on how to set it up.
I guess I'll be May's monthly post here....How do you install this thing????
From what I gathered looking at the source code you might just have to run the ci-bot
file (it's a perl file) which will start a webserver. Not sure if it has to be run on the same server as your gitlab instance or if it can be any as long as it has the necessary permissions to talk to the gitlab server and db...
Also not sure if you need to configure webhooks to be sent to your ci-bot webserver every time a MR is created?
have a look at https://github.com/hjanuschka/GitlabBot does pretty much the same :) - PR's are welcome
@katzien @GitRubb @acdcjunior
@hjanuschka Ok, thanks for letting us know. That repo, though, seems to suffer from the same problem: how to install? That readme could be a lot clearer.
@acdcjunior ok sry, i did a readme now 🚀
https://github.com/hjanuschka/GitlabBot
Hey, everyone!
Sorry for missing these, blame my mail filters.
@katzien is right, you have to run the file, and the add it’s URL (internal/external—this answers your questions, too) to the GitLab’s hook settings, as an administrator, I think. Then it works.
If you want it to run on some other machine than GitLab’s Postgres, you’ll have to modify the sub query
. Sorry for the roughness, but it was just a quick hack solution that we needed immediately. :stuck_out_tongue:
@hjanuschka, awesome! The more the merrier. :heart_eyes_cat: Let’s make software development experience great!