about summary refs log tree commit diff
path: root/nix/writers
diff options
context:
space:
mode:
authorEvgeny Zemtsov <eze@resoptima.com>2022-09-01T08·10+0200
committerezemtsov <eugene.zemtsov@gmail.com>2022-09-01T14·35+0000
commit8fa3bc71374eba92c79346c1d0e92d9445b87a71 (patch)
tree3bfb142aa7773909c24b4784cb769c1f4c9a5658 /nix/writers
parent61a30555ddd14736f452610111642aa4fb01b3bc (diff)
feat(buildkite/mkPipeline): allow fast failure for build steps r/4565
This is supposed to help with resource wasting in situations when
multiple dynamic steps depend on a failing derivation. Cost of
failure currently is `C = T * D` where:
 - T -> time to compile the failing derivation
 - D -> amount of CI targets depending on a failing derivation

Switching to `Fail Fast` limits it to just T (time of a single
failure). Which helps a lot, especially while upgrading nixpkgs.

Fast fail at this moment is in preview, so to enable it:
 - Enable `Fail Fast` feature at pipeline or organization level
 - Set `cancelOnBuildFailing` parameter to true for `mkPipeline`

Change-Id: I4373a46633522d21e94cfa8bac35243b4eeb0b9c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6243
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'nix/writers')
0 files changed, 0 insertions, 0 deletions