youtube image
From YouTube: Faster, more flexible pipelines with a Directed Acyclic Graph (DAG)

Description

Recently GitLab released an exciting feature that reduces the pipeline running times and enables more flexibility in the order jobs are running. The feature is free and available in GitLab.com and the self-hosted versions.

DAG will allow you to run pipeline steps out of order, breaking the stage sequencing, and allowing jobs to relate to each other directly no matter on which stage they belong to.

For example, when a project generates both Android, iOS and web apps in a multi-stage pipeline, people want the iOS deployment to start as soon as all the iOS tests pass rather than waiting for all the Android and web tests to pass too. The total compute time might be the same, but the wall-clock time is different. In more complicated cases, it's possible to significantly reduce the overall wall-clock time of the pipeline by declaring exactly which jobs depend on which other jobs.