tvl-depot/nix/buildkite
Vincent Ambo d14c81007e fix(nix/buildkite): prevent swallowing errors from git-merge-base
The `local` usage we had before would silently swallow non-zero exit
statuses from the substituted git commands.

For some (as of yet unknown) reason, `git merge-base` seems to
sometimes silently fail and produce no output, which broke the rest of
the script logic.

This change will lead to an earlier error, but we don't know if it is
a fix for the actual cause of the git-merge-base problem because the
shape of that problem is unclear.

Change-Id: I4555c8638da450263fa2fd2c274dfdb69f65578e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5012
Tested-by: BuildkiteCI
Reviewed-by: kn <klemens@posteo.de>
2022-01-20 11:04:35 +00:00
..
default.nix feat(nix/buildkite): Check target map of parent to determine skips 2022-01-17 11:49:01 +00:00
fetch-parent-targets.sh fix(nix/buildkite): prevent swallowing errors from git-merge-base 2022-01-20 11:04:35 +00:00