tvl-depot/ops
Vincent Ambo 0a21da2bb4 feat(ops/pipelines): Create drvmap structure for each commit
Always create a structure that maps all targets to derivations, and
persist it as a JSON file.

This relates to some of the ideas expressed in:

https://docs.google.com/document/d/16A0a5oUxH1VoiSM8hyFyLW0WiUYpNo2e2D6FTW4BlH8/edit

The file is always uploaded to Buildkite as an artifact. This allows
for retrieving it based on the commit ID in a Buildkite GraphQL query.

By default, Buildkite stores artefacts for 6 months. Storage location
can be overridden (with custom retention) through some environment
variables, but for now at TVL the Buildkite-managed storage is fine.
See also: https://buildkite.com/docs/pipelines/artifacts

In the subsequent filtering implementation, when diffing commits
across a time-range that exceeds artefact retention time, we should
simply default to building everything.

Change-Id: I6d808461cd1c1fdd6983ba8c8ef075736d42caa7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3662
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2022-01-17 10:26:08 +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(ops/pipelines): Create drvmap structure for each commit 2022-01-17 10:26:08 +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