about summary refs log tree commit diff
path: root/ops/pipelines/fallback.yaml
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-10T07·10+0300
committertazjin <mail@tazj.in>2021-12-10T07·55+0000
commite4231c9816dc532b4d4eb0c9e8d7e8e347d0ebe4 (patch)
tree119735e2051add221899939b006b75808b6b3cc0 /ops/pipelines/fallback.yaml
parent9ea4d55d81d61b6073e69bebdc614f9694d8223c (diff)
refactor(ops/pipelines): Move :duck: logic into static pipeline r/3177
This simplifies the fallback logic used in case of Nix evaluation
failure and makes it so that the evaluation step itself is the one
that is marked as failed in Buildkite.

This is possible because the pipeline upload command will insert new
steps at the point where it runs in the pipeline, and not later.

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