feat(ops/builderball): introduce bouncing Nix cache proxy
Adds a Nix cache proxy which can be used to send a Nix cache lookup to the first available cache that has the given NAR. We will use this for dynamically created builders. Relates to b/432. Change-Id: If970d2393e43ba032b5b7d653f2b92f6ac0eab63 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12949 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
45f8f7d39f
commit
3e802d3bdf
8 changed files with 534 additions and 0 deletions
8
ops/builderball/default.nix
Normal file
8
ops/builderball/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ depot, pkgs, ... }:
|
||||
|
||||
pkgs.buildGoModule {
|
||||
name = "builderball";
|
||||
src = depot.third_party.gitignoreSource ./.;
|
||||
vendorHash = "sha256:1prdkm05bdbyinwwgrbwl8pazayg5cp61dlkmygxwbp880zxpqfm";
|
||||
meta.description = "Nix cache proxy which forwards clients to the first available cache";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue