feat(ops/bugry): configure depot replication to bugry
Change-Id: I3ee35e76c9ec6d7a175801c45eee073ce23d3dfd Reviewed-on: https://cl.tvl.fyi/c/depot/+/13020 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
This commit is contained in:
parent
a031b918b1
commit
7824f8a91f
2 changed files with 9 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
(mod "depot-replica.nix")
|
||||||
(mod "known-hosts.nix")
|
(mod "known-hosts.nix")
|
||||||
(mod "nixery.nix")
|
(mod "nixery.nix")
|
||||||
(mod "tvl-cache.nix")
|
(mod "tvl-cache.nix")
|
||||||
|
|
@ -173,6 +174,9 @@ in
|
||||||
|
|
||||||
services.depot.nixery.enable = true;
|
services.depot.nixery.enable = true;
|
||||||
|
|
||||||
|
# Allow Gerrit to replicate depot to /var/lib/depot
|
||||||
|
services.depot.replica.enable = true;
|
||||||
|
|
||||||
services.depot.automatic-gc = {
|
services.depot.automatic-gc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interval = "1 hour";
|
interval = "1 hour";
|
||||||
|
|
|
||||||
|
|
@ -157,6 +157,11 @@ in
|
||||||
url = "depot@sanduny.tvl.su:/var/lib/depot";
|
url = "depot@sanduny.tvl.su:/var/lib/depot";
|
||||||
projects = "depot";
|
projects = "depot";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
remote.bugry = {
|
||||||
|
url = "depot@bugry.tvl.fyi:/var/lib/depot";
|
||||||
|
projects = "depot";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue