Parent pipeline status "failed" when child has only manual jobs
Summary
When a parent pipeline triggers a child pipeline which has only manual steps and has the strategy: depend attribute, the parent pipeline is marked as failed.
When the child pipeline starts, it works as expected updating the status to the parent:
Similar issues
What is the expected behavior?
As it's using strategy: depend. I would expect the parent pipeline status to reflect the child pipeline status, so the parent status would be "waiting for manual action" instead of "failed".
Steps to reproduce
In .gitlab-ci.yaml:
stages:
- build
- deploy
configuration-build:
stage: build
script:
- |
cat > deploy-child-pipeline.yml <<EOL
manual-child-job:
stage: deploy
when: manual
script:
- echo "manual child job"
EOL
artifacts:
paths:
- deploy-child-pipeline.yml
deploy-trigger:
stage: deploy
trigger:
include:
- artifact: deploy-child-pipeline.yml
job: configuration-build
strategy: depend
This will produce the following:
Edited by Guillem Tanyà


