buildkite-graph icon indicating copy to clipboard operation
buildkite-graph copied to clipboard

How to set `depends_on.step[].allow_failure`?

Open reececomo opened this issue 2 years ago • 0 comments

Hey there, I can't seem to figure out how to set allow_failure differently on two different depends_on → obviously this is trivial in YAML. Is it possible

steps:
  - command: "tests.sh"
    depends_on:
      - step: "test-suite"
        allow_failure: true
      - step: "another-thing"
        allow_failure: false

Here is the only relevant code I can find: https://github.com/joscha/buildkite-graph/blob/3e73c2affe976f41ba91a7c0c13050d2dbbda150/src/base.ts#L115

reececomo avatar Jul 08 '22 00:07 reececomo