diff options
Diffstat (limited to 'ops/pipelines/fallback.yaml')
-rw-r--r-- | ops/pipelines/fallback.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ops/pipelines/fallback.yaml b/ops/pipelines/fallback.yaml new file mode 100644 index 000000000000..73308d937b0c --- /dev/null +++ b/ops/pipelines/fallback.yaml @@ -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:" |