Workflow paths overlap unexpectedly


#1

The workflow visualisation does not accurately represent the workflow configuration. See the following example:

deploy_uat_skip_test only requires approve_deploy_uat_skip_test, however, due to the order of jobs the green path for this overlaps the grey paths for jobs that are not required by deploy_uat_skip_test.

It would be great if the paths did not overlap unless they were actually related.

Screenshot from above uses the following config.yml (snippet):

workflows:
  version: 2
  check_archive_deploy:
    jobs:
      ...
      - deploy_dev:
          context: org-global
          requires:
            - check_archive
          filters:
            branches:
              only:
                - master
      - test_dev_common:
          context: org-global
          requires:
            - deploy_dev
      - test_dev_receive:
          context: org-global
          requires:
            - deploy_dev
      - test_dev_assess:
          context: org-global
          requires:
            - deploy_dev
      - test_dev_repair:
          context: org-global
          requires:
            - deploy_dev
      - approve_deploy_uat:
          type: approval
          requires:
            - test_dev_common
            - test_dev_receive
            - test_dev_assess
            - test_dev_repair
      - deploy_uat:
          context: org-global
          requires:
            - approve_deploy_uat
      - approve_deploy_uat_skip_test:
          type: approval
          requires:
            - deploy_dev
      - deploy_uat_skip_test:
          context: org-global
          requires:
            - approve_deploy_uat_skip_test
      ...

#2

Duplicated by this post.


#3

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.