cant use >1 artifacts in conncetion with dynamic pipeline trigger
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
- the docs on dynamic pipelines need to be updated to reflect the
job/trigger/include/artifactskey. I cant find it anywhere explained in this context. The docs just ref the normal/globalinclude:which to me makes no sense to explainartifactsthere. E.g:
my-trigger-job:
...
trigger:
include:
- artifact: mdm-curated.yml
job: set-vars-for-curated-deployments
- while the doc states "You can include multiple files when composing a child pipeline: " this doesnt seem to be true in connection with
artifacts. Eg.
trigger:
include:
- artifact: gitlab-ci.yml
job: gen2
- local: /gitlab/ci-tf-main.yml
strategy: depend
results in:
Undefined error (01EY8M20PB0Z4R26XPSZVNWZS5) "Found errors in your .gitlab-ci.yml:
So, this restriction is either missing from the docs or there is an impl bug here.
doc page:
https://docs.gitlab.com/ee/ci/parent_child_pipelines.html#dynamic-child-pipelines
Edited by 🤖 GitLab Bot 🤖