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 <sternenseemann@systemli.org>
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2021-08-26 19:31:59 +03:00 committed by tazjin
parent d5ddfb7b96
commit 60b25b49de

View file

@ -55,7 +55,7 @@ let
# Only skip in real Buildkite builds # Only skip in real Buildkite builds
(getEnv "BUILDKITE_BUILD_ID" != "") && (getEnv "BUILDKITE_BUILD_ID" != "") &&
# Always build everything for the canon branch. # 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 # Discard string context to avoid realising the store path during
# pipeline construction. # pipeline construction.
(pathExists (unsafeDiscardStringContext target.outPath)); (pathExists (unsafeDiscardStringContext target.outPath));