feat(ops/pipelines): Add a fallback Buildkite configuration
This adds a simple fallback Buildkite pipeline configuration which always fails the pipeline, but correctly reports back the failure status. Note that this also requires changes in the Buildkite configuration that is not in version-control. Relates to b/66. Change-Id: I6802a6f76448c3893798a06d514e6ccba0f50dd2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2102 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
parent
77097f8056
commit
1857334d37
1 changed files with 8 additions and 0 deletions
8
ops/pipelines/fallback.yaml
Normal file
8
ops/pipelines/fallback.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
# This build configuration provides a fallback which marks a build as
|
||||
# failed. This is used if evaluating the build configuration fails,
|
||||
# for example because of a syntax error in Nix code.
|
||||
---
|
||||
steps:
|
||||
- command: "echo 'Nix evaluation failed!' && exit 1"
|
||||
# This step *must* be :duck: to trigger the correct hook.
|
||||
label: ":duck:"
|
Loading…
Reference in a new issue