too lazy to think of a message, so enjoy this pointless text. Good luck future me...
This commit is contained in:
parent
36629f6d02
commit
ad2b96180f
6 changed files with 49 additions and 6 deletions
22
checks/customer-portal/default.nix
Normal file
22
checks/customer-portal/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
pkgs,
|
||||
nixosLib,
|
||||
clan-core,
|
||||
...
|
||||
}:
|
||||
nixosLib.runTest (
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
clan-core.modules.nixosTest.clanTest
|
||||
];
|
||||
|
||||
hostPkgs = pkgs;
|
||||
|
||||
name = "service-customer-portal";
|
||||
|
||||
testScript = ''
|
||||
start_all()
|
||||
'';
|
||||
}
|
||||
)
|
||||
15
checks/flake-module.nix
Normal file
15
checks/flake-module.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ self, ... }:
|
||||
let
|
||||
nixosLib = import (self.inputs.nixpkgs + "/nixos/lib") { };
|
||||
in
|
||||
{
|
||||
perSystem = { pkgs, lib, ... }:
|
||||
{
|
||||
checks = {
|
||||
service-customer-portal-test = import ./customer-portal {
|
||||
inherit pkgs lib nixosLib self;
|
||||
inherit (self.inputs) clan-core;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue