tvl-depot/ops/pipelines
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
..
depot.nix feat(ops/pipelines): Create drvmap structure for each commit 2022-01-17 10:26:08 +00:00
README.md docs: Update README for the repository itself 2020-08-17 21:52:58 +00:00
static-pipeline.yaml feat(ops/pipelines): Create drvmap structure for each commit 2022-01-17 10:26:08 +00:00

This folder contains the dynamic configuration for our Buildkite CI setup.

The configuration is built and dynamically loaded by Buildkite at the start of each CI pipeline.