Skip to content

WIP: Solve skipped status problem of DAG

What does this MR do?

Related to #213080 (closed)

This MR is aiming to solve the problem that happens when a job needs a skipped job.

The idea is based on creating a dependency tree. Also, another main idea of this MR is to make the processing style of stage and DAG approaches consistently the same.

Notes:

  • This MR also reverts the changes of !23405 (merged).
  • Legacy processing has not been considered in this MR yet.
  • These changes will be behind a feature flag ci_dependency_tree_for_dag.

Screenshots

build_1:
  stage: build
  script: exit 0

build_2:
  stage: build
  script: exit 1

test:
  stage: test
  script: exit 0

deploy:
  stage: deploy
  script: exit 0
  needs: [build_1, test]

Before this MR

Screen_Shot_2020-08-11_at_11.33.36

After this MR

Screen_Shot_2020-08-11_at_11.29.59

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Furkan Ayhan

Merge request reports