Check CI status in source project and target project

Hi, gitlab community!

This is my Scenario:

  • There's a project A configured with CI, runners, etc. (everithing is OK)

  • There's a fork from project A, let's call it project B, but project B does not have CI and runners configured

  • Project B sends a MR to A

  • In the MR page, Gitlab checks for ci_builds in project B, and all builds are PENDING because there's no runners or configurations on project B to handle this

  • I made a tool that listens webhooks from new Merge Requests in Project A from the forks, get the branch and pushes it to project A in a hidden ref like ref/mr/commit_hash, and I trigger a build to that ref. Untill here it's all perfect, but When I go to MR page I'd like to see the build status in project A too.

I know gitlab stands for security when it does not trigger builds from MR.. I saw on the future plans you will try to implement this as a optional feature on project settings, but for now, this minor improvement on builds check would be good for me and others, since I will open my tool to others that also share my needs.

What do you think?

Sorry for the bad english. Att

Edited Jul 27, 2020 by Jason Yavorsky
Assignee Loading
Time tracking Loading