tvl-depot/nix/buildkite
sterni a7080a1468 refactor(nix/buildkite): don't calculate deps for skipped targets
We don't need to calculate dependencies between and on targets that are
part of the parent target map since they will be skipped by buildkite
anyways. This speeds up 🦙 considerably for pipeline runs that have a
limited number of changed targets and a parent target map passed
in (i.e. pipeline runs of most CLs, but not canon runs). In my testing
it was about a minute faster (1/6 of the time 🦙 takes currently) for a
pipeline where under five drv targets changed. For the full
pipeline (i.e. no parentTargetMap) 🦙 takes about the same time as
before (it's a few seconds slower as is to be expected, but nothing
significant).

Change-Id: Ia5a80e142da8f40bc591e2c6cfaf48c325b2f577
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12818
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
2024-11-23 22:20:21 +00:00
..
default.nix refactor(nix/buildkite): don't calculate deps for skipped targets 2024-11-23 22:20:21 +00:00
fetch-parent-targets.sh feat(nix/buildkite): fetch drvmap from *any* default branch builds 2023-10-22 12:29:52 +00:00