From 9073ac18c48f2bcefc736839d6faf76a462bf433 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 11 Apr 2021 22:59:41 +0200 Subject: fix(pipelines/depot): Buildkite refers to branches by full ref 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 Reviewed-by: glittershark --- ops/pipelines/depot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit 1.4.1