about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-08-26T16·31+0300
committertazjin <mail@tazj.in>2021-08-26T16·35+0000
commit60b25b49de6107c1840cc7502dccdf5c00235849 (patch)
tree0efdf02cfaae69d1c7a729eb032cae663c160e2a /ops
parentd5ddfb7b96835828b4d2c38006e58f9303ef672e (diff)
fix(ops/pipelines/depot): Buildkite branches use full ref names r/2787
... otherwise the filtering also applies to canon.

Change-Id: Ia1c67b99282fb8fd0e4d22e997535170f0326e33
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3432
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops')
-rw-r--r--ops/pipelines/depot.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/pipelines/depot.nix b/ops/pipelines/depot.nix
index 961d8e6ece..709ccc9d5f 100644
--- a/ops/pipelines/depot.nix
+++ b/ops/pipelines/depot.nix
@@ -55,7 +55,7 @@ let
         # Only skip in real Buildkite builds
         (getEnv "BUILDKITE_BUILD_ID" != "") &&
         # Always build everything for the canon branch.
-        (getEnv "BUILDKITE_BRANCH" != "canon") &&
+        (getEnv "BUILDKITE_BRANCH" != "refs/heads/canon") &&
         # Discard string context to avoid realising the store path during
         # pipeline construction.
         (pathExists (unsafeDiscardStringContext target.outPath));