interruptible job とは何か?
interruptible job は、同じ branch で新しいコミットが新しい pipeline を trigger し、実行中の run が陳腐化したときにキャンセルしても安全だと印を付けられた job です。プラットフォームは冗長な job を止めてキャパシティを回収します。deploy のように中断してはいけない job は印を付けないままにします。
なぜ重要か
立て続けの push は、同じ branch に対して古い pipeline を複数走らせたままにし、runner の時間を無駄にします。job を interruptible に印付けると、CI は取って代わられたものをキャンセルし、最新のものだけを残せます。これは無駄な minutes を削減し、従量課金のマネージド runner ではコストを直接下げます。
関連ガイド
What Is a Resource Group in CI?A resource group is a CI mechanism that forces jobs sharing a named group to run one at a time, serializing a…
What Is the CI Retry Keyword?The retry keyword is a pipeline setting that tells CI to automatically rerun a failed job a set number of tim…
What Is allow_failure in CI?allow_failure is a pipeline setting that lets a job fail without failing the overall pipeline, useful for non…