From 60b25b49de6107c1840cc7502dccdf5c00235849 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 26 Aug 2021 19:31:59 +0300 Subject: fix(ops/pipelines/depot): Buildkite branches use full ref names ... otherwise the filtering also applies to canon. Change-Id: Ia1c67b99282fb8fd0e4d22e997535170f0326e33 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3432 Reviewed-by: sterni Reviewed-by: grfn Tested-by: BuildkiteCI --- ops/pipelines/depot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ops/pipelines') 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)); -- cgit 1.4.1