tvl-depot/ops
Vincent Ambo 0779f96687 feat(nix/buildkite): Check target map of parent to determine skips
This changes the logic for build pipeline generation to inspect
an (optional) parentTargetMap attribute which contains the derivation
map of a target commit.

Targets that existed in a parent commit with the same drv hash will be
skipped, as they are not considered to have changed.

This does not yet wire up any logic for retrieving the target map from
storage, meaning that at this commit all targets are always built.

The intention is that we will have logic to fetch the target
map (initially from Buildkite artefact storage), which we then pass to
the depot via externalArgs when actually generating the pipeline.

Change-Id: I3373c60aaf4b56b94c6ab64e2e5eef68dea9287c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4946
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2022-01-17 11:49:01 +00:00
..
besadii feat(besadii): Skip builds of patchsets with no code changes 2022-01-14 17:35:45 +00:00
deploy-whitby refactor(deploy-whitby): use nvd instead of nix-diff 2022-01-13 08:14:00 +00:00
dns refactor(readTree): Move 'drvTargets' into readTree 2021-11-23 14:42:08 +00:00
gerrit-tvl fix(gerrit-tvl): Handle "broken" (skipped) jobs correctly 2022-01-14 20:44:56 +00:00
glesys feat(ops/glesys): Import DNS records for tvl.su 2021-12-27 16:45:54 +00:00
journaldriver refactor(ops): Consistent use of depot.third_party vs. pkgs 2021-04-10 12:09:20 +00:00
keycloak refactor(ops/keycloak): Split out clients & user-sources 2022-01-02 21:22:17 +00:00
kontemplate style: format all Go code 2021-12-19 18:05:04 +00:00
machines feat(whitby): Install a handful of systemPackages 2022-01-13 08:39:03 +00:00
modules feat(ops/auto-deploy): Support emergency stops via stop file 2022-01-07 17:17:33 +00:00
mq_cli chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
pipelines feat(nix/buildkite): Check target map of parent to determine skips 2022-01-17 11:49:01 +00:00
posix_mq.rs chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
secrets feat(ops): Add initial oauth2_proxy configuration 2022-01-04 18:04:27 +00:00
users fix(ops/users): change my email to the @tvl.su one 2021-12-28 13:00:54 +00:00
nixos.nix feat(ops/auto-deploy): Support auto-deploy 2021-12-26 14:55:42 +00:00