Build Minutes Overage - CI/CD用語集の定義
build minutes overageとは、プランに含まれる割り当てを超えた使用量であり、分あたりのon-demandレートで課金されます。GitHub Actionsでは、プライベートリポジトリのプランが含まれるminutesを使い切ると、追加の課金対象minuteはすべて標準レート(OSおよびrunnerサイズの乗数を伴う)で請求されます。
overageの発生源
よくある要因は、cacheされていない依存関係のインストール、push ごとのフルmatrix build、古いrunのconcurrencyによるキャンセルがないこと、そして10x乗数の高コストなmacOS jobです。自動re-runをトリガーする1つのflakyなテストが、overageを何倍にもする可能性があります。
制御する方法
支出上限を設定し、課金設定で使用量を監視し、積極的にcacheを行い、分あたりレートではなくクラウドcomputeに課金するself-hostedまたはマネージドのrunnerに重いワークロードを移行しましょう。
関連ガイド
Compute Minutes - CI/CD Glossary DefinitionCompute Minutes: Compute minutes are the unit CI providers meter usage in: one minute of one runner executing…
Network Egress Cost - CI/CD Glossary DefinitionNetwork Egress Cost: Network egress cost is the per-gigabyte fee cloud providers charge for data leaving thei…
On-Demand Instance - CI/CD Glossary DefinitionOn-Demand Instance: An on-demand instance is a cloud VM you pay for by the second or hour with no upfront com…