GitLab CI and Distributed Builds
Get faster and more flexible pipelines with a Directed Acyclic Graph

Get faster and more flexible pipelines with a Directed Acyclic Graph

5/12/2020 · Itzik Gan Baruch

What this post added

Introduced the Directed Acyclic Graph (DAG) feature for GitLab CI/CD pipelines, enabling jobs to run out of order based on direct dependencies rather than strict stage sequencing. This is achieved through the new `needs` keyword in `.gitlab-ci.yml`, which allows jobs to start immediately after their specified dependent jobs complete, irrespective of their stage. This significantly reduces pipeline execution time, particularly for monorepos with independent build/test/deploy workflows.

Read the original post ↗