cluster/services/storage: split garage config for tests
This commit is contained in:
parent
8f8c2bc0ce
commit
4f49aad9dd
3 changed files with 11 additions and 7 deletions
|
@ -14,6 +14,7 @@ in
|
|||
external = [ "prophet" ];
|
||||
heresy = [ "VEGAS" ];
|
||||
garage = [ "prophet" "VEGAS" ];
|
||||
garageConfig = [ "prophet" "VEGAS" ];
|
||||
garageInternal = [ "VEGAS" ];
|
||||
garageExternal = [ "prophet" ];
|
||||
};
|
||||
|
@ -24,6 +25,8 @@ in
|
|||
./garage.nix
|
||||
./garage-options.nix
|
||||
./garage-layout.nix
|
||||
];
|
||||
garageConfig = [
|
||||
./garage-gateway.nix
|
||||
{
|
||||
services.garage = {
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
{
|
||||
system.ascensions.garage-layout = {
|
||||
distributed = true;
|
||||
requiredBy = [ "garage.service" ];
|
||||
after = [ "garage.service" "garage-layout-init.service" ];
|
||||
incantations = i: [
|
||||
];
|
||||
};
|
||||
system.ascensions.garage-layout.incantations = i: [
|
||||
];
|
||||
|
||||
services.garage.layout.initial = {
|
||||
prophet = { zone = "eu-central"; capacity = 1000; };
|
||||
|
|
|
@ -20,6 +20,12 @@ in
|
|||
group = "garage";
|
||||
};
|
||||
|
||||
system.ascensions.garage-layout = {
|
||||
distributed = true;
|
||||
requiredBy = [ "garage.service" ];
|
||||
after = [ "garage.service" "garage-layout-init.service" ];
|
||||
};
|
||||
|
||||
services.garage = {
|
||||
enable = true;
|
||||
package = depot.packages.garage;
|
||||
|
|
Loading…
Reference in a new issue