Skip to content

Refactor and simplify `scripts/trigger-build.rb`

Rémy Coutable requested to merge refactor-trigger-build.rb into master

What does this MR do and why?

This removes the confusing [:downstream] / [:upstream] part from gitlab_client and introduces an explicit #com_gitlab_client method and a #downstream_client method (which defaults to #com_gitlab_client) that can be overriden by subclasses.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Rémy Coutable

Merge request reports

Loading