about summary refs log tree commit diff
path: root/nix/readTree
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-10-24T14·16-0400
committerwpcarro <wpcarro@gmail.com>2022-11-01T22·11+0000
commit1cd7678bdbbc160c13afb28a7ea31c01c9904432 (patch)
tree7ea0dbcd617186fae080a917f33685e4c79add84 /nix/readTree
parent9ada456260c0fff256f08a6aa87c436a0027f318 (diff)
feat(ops/buildkite): Support "soft failures" r/5227
Example Usage:

```nix
{ pkgs, ... }:

(pkgs.writeText "foo" "bar").overrideAttrs (_: {
  meta.ci.extraSteps.bar = {
    label = "testing soft_fail";
    softFail = [
      { exit_status = 253; }
      { exit_status = 251; }
    ];
    command = pkgs.writeShellScript "fail" ''
      # Trigger a soft failure by exiting 253 or 251
      exit 253
    '';
  };
})
```

Buildkite Documentation: https://buildkite.com/changelog/56-command-steps-can-now-be-made-to-soft-fail

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