Docs feedback: Use inputs with downstream pipelines documentation bug
Problem to solve
Documentation for creating multi-project downstream pipelines with inputs is incorrect. Example provided in doc actually creates a child-parent pipeline in the same project.
Tested it on v17.10.1-ee . Looks like multi-project part was added for Gitlab 17.8
Pipeline example that triggers child pipeline instead of multi-project pipeline:
Run:
resource_group: production
stage: trigger
trigger:
strategy: depend
include:
- project: project/to/trigger
file: ".gitlab-ci.yml"
inputs:
input_name: input_value
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
when: manual
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
changes:
- folder/**/*
when: manual
Proposal
I do not have a proposal as I am not sure if triggering multi-project pipelines with inputs is even possible at the moment.
If it is not possible yet then restoring this article to 17.7 version might be a good thing to do.
Edited by 🤖 GitLab Bot 🤖