Too many connections in pipeline graph but correct DAG graph
I have a very simple CI file https://gitlab.com/crunchtime-ali/dag-test/-/blob/master/.gitlab-ci.yml
I have two stages Diff and Deploy with 2 jobs each (diff-stage, diff-prod, deploy-stage and deploy-prod)
deploy-stage needs diff-stage and deploy-prod needs diff-prod
The DAG view shows it as I would expect it:
The Pipeline view has too many connections drawn though:
Did I do something wrong? I would expect the Pipeline view also to only show connectors as in the DAG view
You can find a public demo project here https://gitlab.com/crunchtime-ali/dag-test/-/pipelines/170187104
This is the gitlab-ci.yml in question:
stages:
- diff
- deploy
diff_stage:
stage: diff
script:
- echo "diff stage"
rules:
- when: always
deploy_stage:
stage: deploy
script:
- echo "deploy stage"
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
when: always
needs: ["diff_stage"]
diff_prod:
stage: diff
script:
- echo "diff prod"
rules:
- when: always
deploy_prod:
stage: deploy
script:
- echo "deploy prod"
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
when: always
needs: ["diff_prod"]
Edited by Crunchtime Ali

