gitlab-ci-bot icon indicating copy to clipboard operation
gitlab-ci-bot copied to clipboard

Instructions

Open DevanB opened this issue 8 years ago • 7 comments

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!

DevanB avatar Mar 07 '16 17:03 DevanB

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.

acdcjunior avatar Apr 01 '16 15:04 acdcjunior

I guess I'll be May's monthly post here....How do you install this thing????

GitRubb avatar May 19 '16 20:05 GitRubb

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?

katzien avatar Jun 14 '16 09:06 katzien

have a look at https://github.com/hjanuschka/GitlabBot does pretty much the same :) - PR's are welcome

@katzien @GitRubb @acdcjunior

hjanuschka avatar Aug 30 '16 12:08 hjanuschka

@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 avatar Aug 30 '16 17:08 acdcjunior

@acdcjunior ok sry, i did a readme now 🚀

https://github.com/hjanuschka/GitlabBot

hjanuschka avatar Aug 31 '16 07:08 hjanuschka

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!

michalrus avatar Dec 17 '16 19:12 michalrus