Monorepos host multiple application codes within a single GitLab repository, and configuring CI/CD pipelines for each application used to be complex. Without extending hidden jobs, GitLab 16.4 introduces a new approach with `include` and `rules:changes`, simplifying pipeline configuration and reducing redundancy. This update allows for independent application pipelines that trigger based on changes to specific directory source codes.

5m read timeFrom about.gitlab.com
Post cover image
Table of contents
The ideal case: CI/CD in a monorepoThe legacy approachThe new approach: Conditionally include pipeline filesMore CI/CD resources

Sort: