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:
Vincent Ambo 2020-11-17 23:15:28 +01:00 committed by tazjin
parent 77097f8056
commit 1857334d37

View 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:"