Manual jobs still can be triggered even if one of DAG dependencies failed.
Hi. I have a following pipeline:
testA -> buildA -> uploadA -> deployA
testB -> buildB -> uploadB -> deployB
testA:
stage: test
buildA:
stage: build
needs: ["testA"]
uploadA:
stage: upload
needs: ["buildA"]
deployA:
stage: upload
needs: ["uploadA"]
when: manual
If I cancel buildA job - uploadA is being skipped. And deployA is still available for execution (so it completely ignores needs:).
I definitely do not want to allow to deploy a broken code or code with no uploaded images. Is it possible to change this behavior somehow so it can be manually executed, but only if an entire chain of DAG dependencies succeed?
Thanks.
GitLab version - 13.5.1
Edited by Ghost User