Monorepo - CI/CD用語集の定義
Monorepo とは、一緒にビルド・バージョン管理される多数のプロジェクトやサービスを保持する単一のバージョン管理リポジトリです。Google、Meta、そしてNxやTurborepoを使う多くの企業がこの方式で運用しています。
CIでは
monorepoのCIは、変更が実際にどのプロジェクトに影響するか (影響グラフ) を判断し、それらだけをビルドしなければなりません。そうしないとすべてのcommitがリポジトリ全体をトリガーします。パスフィルタやNx、Turborepo、Bazelなどのツールがこれを解決します。
関連ガイド
Incremental Build - CI/CD Glossary DefinitionIncremental Build: An incremental build rebuilds only the parts of a project affected by a change, reusing pr…
Remote Cache - CI/CD Glossary DefinitionRemote Cache: A remote cache stores build or test outputs on a shared server so that any machine, including e…
Trunk-Based Development - CI/CD Glossary DefinitionTrunk-Based Development: Trunk-based development is a branching model where developers integrate small change…