about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-04-11T20·59+0200
committertazjin <mail@tazj.in>2021-04-11T21·18+0000
commit9073ac18c48f2bcefc736839d6faf76a462bf433 (patch)
treec0f5275b76b5fbdf81e4fc59ac23ad2c5a60666c /ops
parent7e2023546c2136ff6f70407868f7e364e141e244 (diff)
fix(pipelines/depot): Buildkite refers to branches by full ref r/2480
This change is required to run the :anchor: step on canon builds.

Change-Id: Ib3cebac67c9f5337b27a948f120b0a9ba834ef2a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2932
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: glittershark <grfn@gws.fyi>
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 8c03217c1e3b..91fb6269d68c 100644
--- a/ops/pipelines/depot.nix
+++ b/ops/pipelines/depot.nix
@@ -95,7 +95,7 @@ let
       ({
         command = "nix-instantiate -A ci.gcroot --add-root /nix/var/nix/gcroots/depot/canon";
         label = ":anchor:";
-        "if" = ''build.branch == "canon"'';
+        "if" = ''build.branch == "refs/heads/canon"'';
         depends_on = [{
           step = ":duck:";
           allow_failure = false;