gitlab-runner: "An error occurred while trying to run a new pipeline for this merge request"
Summary
Trying to run a manual CI job with a gitlab-runner in the parent project context doesn't work. The same runner, if registered with the forked instance and run in its context, works correctly.
Steps to reproduce
As described in https://docs.gitlab.com/ee/ci/pipelines/merge_request_pipelines.html#run-pipelines-in-the-parent-project-for-merge-requests-from-a-forked-project this requires a premium account, and this has been tested to fail with such an account.
- create a manual CI job with a tag
- register a runner with the parent project
- as a Developer go to the MR and press the "Run pipeline" button
- a warning appears, warning about potential security risks
- confirm the run
- an error occurs
Example Project
This requires a premium account, so it isn't very easy to create an example project
What is the current bug behavior?
an error occurs
What is the expected correct behavior?
CI pipeline run on a runner in the parent project context
Relevant logs and/or screenshots
Only an error message is displayed:
"An error occurred while trying to run a new pipeline for this merge request."
Output of checks
This bug happens on GitLab.com