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;
|
syncthing = import ./syncthing nixosTestArgs;
|
||||||
deltachat = import ./deltachat nixosTestArgs;
|
deltachat = import ./deltachat nixosTestArgs;
|
||||||
ergochat = import ./ergochat nixosTestArgs;
|
ergochat = import ./ergochat nixosTestArgs;
|
||||||
garage = import ./garage nixosTestArgs;
|
|
||||||
heisenbridge = import ./heisenbridge nixosTestArgs;
|
heisenbridge = import ./heisenbridge nixosTestArgs;
|
||||||
mycelium = import ./mycelium nixosTestArgs;
|
mycelium = import ./mycelium nixosTestArgs;
|
||||||
localsend = import ./localsend nixosTestArgs;
|
localsend = import ./localsend nixosTestArgs;
|
||||||
|
|||||||
@@ -1,6 +1,18 @@
|
|||||||
{ lib, ... }:
|
{ lib, self, ... }:
|
||||||
{
|
{
|
||||||
clan.modules = {
|
clan.modules = {
|
||||||
garage = lib.modules.importApply ./default.nix { };
|
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 = {
|
clan = {
|
||||||
directory = ./.;
|
directory = ./.;
|
||||||
modules."@clan/garage" = ../../clanServices/garage/default.nix;
|
modules."@clan/garage" = ../../default.nix;
|
||||||
inventory = {
|
inventory = {
|
||||||
machines.server = { };
|
machines.server = { };
|
||||||
|
|
||||||
Reference in New Issue
Block a user