clanServices: Move garage test to appropriate location #3900
Move the garage clanService test to the garage clan service.
This commit is contained in:
@@ -58,7 +58,6 @@ in
|
||||
syncthing = import ./syncthing nixosTestArgs;
|
||||
deltachat = import ./deltachat nixosTestArgs;
|
||||
ergochat = import ./ergochat nixosTestArgs;
|
||||
garage = import ./garage nixosTestArgs;
|
||||
heisenbridge = import ./heisenbridge nixosTestArgs;
|
||||
mycelium = import ./mycelium nixosTestArgs;
|
||||
localsend = import ./localsend nixosTestArgs;
|
||||
|
||||
@@ -1,6 +1,18 @@
|
||||
{ lib, ... }:
|
||||
{ lib, self, ... }:
|
||||
{
|
||||
clan.modules = {
|
||||
garage = lib.modules.importApply ./default.nix { };
|
||||
};
|
||||
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
checks = lib.optionalAttrs (pkgs.stdenv.isLinux) {
|
||||
garage = import ./tests/vm/default.nix {
|
||||
inherit pkgs;
|
||||
clan-core = self;
|
||||
nixosLib = import (self.inputs.nixpkgs + "/nixos/lib") { };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ nixosLib.runTest (
|
||||
|
||||
clan = {
|
||||
directory = ./.;
|
||||
modules."@clan/garage" = ../../clanServices/garage/default.nix;
|
||||
modules."@clan/garage" = ../../default.nix;
|
||||
inventory = {
|
||||
machines.server = { };
|
||||
|
||||
Reference in New Issue
Block a user