Refactor and simplify `scripts/trigger-build.rb`
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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Rémy Coutable