PHPCI and Gerrit?

28 views
Skip to first unread message

Andrei Dascalu

unread,
Aug 29, 2014, 3:00:48 AM8/29/14
to php...@googlegroups.com
Hello,

I am wondering if anyone has tried to link a project on PHPCI with the Gerrit repo manager/code review tool? I find PHPCI much more efficient and easier to configure than Jenkins CI for php projects and I'd like to be able to block Gerrit pull requests based on PHPCI build results.

However, it seems there are no direct ways to achieve this. On the Gerrit side, it's possible to allow access to external entities to the code review process but PHPCI doesn't seem to have support.

Basically, the process should be:
- new PR created on Gerrit
- Gerrit notifies PHPCI to start the build (given a specific refspec)
- PHPCI runs the specified build with the refspec
- PHPCI adds a +1/-1 with a comment on Gerrit
- Devs are happy/sad depending on result!

I'd be happy to develop this myself, but I could use some pointers!

Thanks!
Reply all
Reply to author
Forward
0 new messages