feat(ops/tvl-cache): add option for using experimental cache
Adds a `tvl.cache.builderball` option for cache *consumers* which enables the experimental builderball cache. This cache uses whitby AND nevsky. Change-Id: I4d99ba52d6ebd9a49e6fcb931d01e69383b15bcf Reviewed-on: https://cl.tvl.fyi/c/depot/+/12986 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
c948a26d7d
commit
d2d06241a0
4 changed files with 13 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
options = {
|
||||
tvl.cache.enable = lib.mkEnableOption "the TVL binary cache";
|
||||
tvl.cache.builderball = lib.mkEnableOption "use experimental builderball cache";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.tvl.cache.enable {
|
||||
|
|
@ -12,7 +13,9 @@
|
|||
];
|
||||
|
||||
substituters = [
|
||||
"https://cache.tvl.su"
|
||||
(if config.tvl.cache.builderball
|
||||
then "https://cache.tvl.fyi"
|
||||
else "https://cache.tvl.su")
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue