Fetch sources from parent project for MR pipelines and run on merge result (#55013) · Issues · GitLab.org / GitLab FOSS · GitLab (original) (raw)
GitLab Next
Fetch sources from parent project for MR pipelines and run on merge result
We should fetch sources from target project, instead of source project. We can still run on source project, but fetching on target with flexible ref specification allows us to seamlessly move to implementing test on merge result.
- We should pass to Runner
clone url
that is of target project, - We should pass as
ref
therefs/merge-requests/iid/head
(tomorrow the/merge
, the https://gitlab.com/gitlab-org/gitlab-ce/issues/47110).
To make a runner to support flexible ref specifications we need to fix Runner: gitlab-runner!1092 (closed).
We also need to fix authentication scheme to allow use CI fork token to fetch sources from parent.
This allows us to seamlessly move to testing changes on merge results once the https://gitlab.com/gitlab-org/gitlab-ce/issues/47110 is implemented.
Note: This change is done in parallel with https://gitlab.com/gitlab-org/gitlab-ce/issues/23902
Edited Jan 24, 2019 by Jason Yavorsky