Gitlab integration

The Pulse Support forums are here so that you can ask questions or leave comments related to pulse. They are watched by Zutubi staff who will endeavour to answer your questions promptly.

Gitlab integration

Postby scoobydoo on Tue Jan 12, 2016 1:14 am

We are running Gitlab and would like to integrate Pulse somehow. Has anyone managed to perform such an integration? Or alternatively point me in the right direction if it's possible.

Many Thanks.
scoobydoo
 
Posts: 28
Joined: Tue Oct 14, 2014 6:39 pm

Re: Gitlab integration

Postby jason.sankey on Tue Jan 12, 2016 1:40 am

Hi,

At the moment Pulse doesn't have any particular integration with GitLab (it will just interact with it as a regular git repo), although some custom integrations may be possible using the Pulse remote API. Was there any particular area you're interested in?

Cheers,
Jason
jason.sankey
 
Posts: 1815
Joined: Sun Apr 30, 2006 12:26 pm

Re: Gitlab integration

Postby scoobydoo on Tue Jan 12, 2016 7:05 pm

Thanks Jason. I will take a look at the Pulse API.

I would like to be able to get build results back to Gitlab from Pulse and be able to trigger builds from Gitlab.
scoobydoo
 
Posts: 28
Joined: Tue Oct 14, 2014 6:39 pm

Re: Gitlab integration

Postby jason.sankey on Wed Jan 13, 2016 2:20 am

Hi,

Cool. For build results look at:

http://confluence.zutubi.com/display/pu ... ForProject

(and methods in the See Aslo section) and for triggering:

http://confluence.zutubi.com/display/pu ... iggerBuild

There is a cookbook article (dated, but the ideas are the same) about trigger via subversion hooks that could be translated to git commit hooks:

http://confluence.zutubi.com/display/pu ... sion+Hooks

In future we may support GitLab's web hooks to make this easier!

Cheers,
Jason
jason.sankey
 
Posts: 1815
Joined: Sun Apr 30, 2006 12:26 pm

Re: Gitlab integration

Postby inmotini on Sat Feb 06, 2016 8:04 pm

Hi there ... i have created a Python script that listens for Gitlab webhooks for Git push events and triggers Pulse builds from them.

You can find it here - https://github.com/inmotini/PulseWebHooks

Enjoy
inmotini
 
Posts: 1
Joined: Sat Feb 06, 2016 7:59 pm

Re: Gitlab integration

Postby jason.sankey on Mon Feb 08, 2016 1:21 am

Great stuff, thanks for sharing!
jason.sankey
 
Posts: 1815
Joined: Sun Apr 30, 2006 12:26 pm


Return to Pulse Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron