Incremental Build - CI/CD用語集の定義
Incremental build は、変更の影響を受けるプロジェクトの部分だけを再ビルドし、それ以外はすべて以前にコンパイルした出力を再利用します。これはクリーンな (ゼロからの) buildの逆です。
CIでは
incremental buildは、以前の出力が確実に復元される場合にのみ安全であり、そのためbuild cacheと組み合わせて使われます。古いまたは部分的なcacheはincremental buildに誤った結果を生成させることがあるため、多くのCIパイプラインはmainブランチではクリーンなbuildを行います。
関連ガイド
Build Cache - CI/CD Glossary DefinitionA build cache stores intermediate compilation outputs keyed by their inputs, so unchanged work is restored in…
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…
Cache (CI) - CI/CD Glossary DefinitionCache (CI): A **cache** stores dependencies or build outputs between runs so they are restored instead of rec…