checks: fix some tests not named correctly

This commit is contained in:
DavHau
2025-06-30 19:50:16 +07:00
parent a43eee2860
commit e219a636ca
20 changed files with 21 additions and 29 deletions

View File

@@ -13,7 +13,7 @@ nixosLib.runTest (
hostPkgs = pkgs; hostPkgs = pkgs;
name = "borgbackup"; name = "service-borgbackup";
clan = { clan = {
directory = ./.; directory = ./.;

View File

@@ -20,7 +20,7 @@ nixosLib.runTest (
]; ];
hostPkgs = pkgs; hostPkgs = pkgs;
name = "data-mesher"; name = "service-data-mesher";
clan = { clan = {
directory = ./.; directory = ./.;

View File

@@ -183,7 +183,7 @@ in
# vm-test-run-test-installation-> target: Guest root shell did not produce any data yet... # vm-test-run-test-installation-> target: Guest root shell did not produce any data yet...
# vm-test-run-test-installation-> target: To debug, enter the VM and run 'systemctl status backdoor.service'. # vm-test-run-test-installation-> target: To debug, enter the VM and run 'systemctl status backdoor.service'.
checks = pkgs.lib.mkIf (pkgs.stdenv.isLinux && !pkgs.stdenv.isAarch64) { checks = pkgs.lib.mkIf (pkgs.stdenv.isLinux && !pkgs.stdenv.isAarch64) {
installation = self.clanLib.test.baseTest { nixos-test-installation = self.clanLib.test.baseTest {
name = "installation"; name = "installation";
nodes.target = { nodes.target = {
services.openssh.enable = true; services.openssh.enable = true;
@@ -210,7 +210,7 @@ in
''; '';
} { inherit pkgs self; }; } { inherit pkgs self; };
update-hardware-configuration = self.clanLib.test.baseTest { nixos-test-update-hardware-configuration = self.clanLib.test.baseTest {
name = "update-hardware-configuration"; name = "update-hardware-configuration";
nodes.installer = installer; nodes.installer = installer;

View File

@@ -24,7 +24,7 @@
}: }:
{ {
checks = pkgs.lib.mkIf (pkgs.stdenv.isLinux && !pkgs.stdenv.isAarch64) { checks = pkgs.lib.mkIf (pkgs.stdenv.isLinux && !pkgs.stdenv.isAarch64) {
morph = self.clanLib.test.baseTest { nixos-test-morph = self.clanLib.test.baseTest {
name = "morph"; name = "morph";
nodes = { nodes = {

View File

@@ -13,7 +13,7 @@ nixosLib.runTest (
hostPkgs = pkgs; hostPkgs = pkgs;
name = "mycelium"; name = "service-mycelium";
clan = { clan = {

View File

@@ -14,7 +14,7 @@ nixosLib.runTest (
hostPkgs = pkgs; hostPkgs = pkgs;
name = "syncthing"; name = "service-syncthing";
clan = { clan = {
directory = ./.; directory = ./.;

View File

@@ -2,7 +2,7 @@ let
public-key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII6zj7ubTg6z/aDwRNwvM/WlQdUocMprQ8E92NWxl6t+ test@test"; public-key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII6zj7ubTg6z/aDwRNwvM/WlQdUocMprQ8E92NWxl6t+ test@test";
in in
{ {
name = "admin"; name = "service-admin";
clan = { clan = {
directory = ./.; directory = ./.;

View File

@@ -1,10 +1,9 @@
{ {
module,
pkgs, pkgs,
... ...
}: }:
{ {
name = "borgbackup"; name = "service-borgbackup";
clan = { clan = {
directory = ./.; directory = ./.;

View File

@@ -1,10 +1,9 @@
{ {
module,
pkgs, pkgs,
... ...
}: }:
{ {
name = "garage"; name = "service-garage";
clan = { clan = {
directory = ./.; directory = ./.;

View File

@@ -1,9 +1,5 @@
{ {
module, name = "service-hello-service";
...
}:
{
name = "hello-service";
clan = { clan = {
directory = ./.; directory = ./.;

View File

@@ -1,10 +1,9 @@
{ {
module,
pkgs, pkgs,
... ...
}: }:
{ {
name = "mycelium"; name = "service-mycelium";
clan = { clan = {

View File

@@ -1,5 +1,5 @@
{ {
name = "packages"; name = "service-packages";
clan = { clan = {
directory = ./.; directory = ./.;

View File

@@ -1,10 +1,9 @@
{ {
module,
pkgs, pkgs,
... ...
}: }:
{ {
name = "sshd"; name = "service-sshd";
clan = { clan = {
directory = ./.; directory = ./.;

View File

@@ -1,5 +1,5 @@
{ {
name = "trusted-nix-caches"; name = "service-trusted-nix-caches";
clan = { clan = {
directory = ./.; directory = ./.;

View File

@@ -1,5 +1,5 @@
{ {
name = "users"; name = "service-users";
clan = { clan = {
directory = ./.; directory = ./.;

View File

@@ -1,5 +1,5 @@
{ {
name = "wifi"; name = "service-wifi";
clan = { clan = {
directory = ./.; directory = ./.;

View File

@@ -1,5 +1,5 @@
{ {
name = "zerotier"; name = "service-zerotier";
clan = { clan = {
directory = ./.; directory = ./.;

View File

@@ -5,7 +5,7 @@
{ {
clan.nixosTests.machine-id = { clan.nixosTests.machine-id = {
name = "machine-id"; name = "service-machine-id";
clan = { clan = {
directory = ./.; directory = ./.;

View File

@@ -5,7 +5,7 @@
{ {
clan.nixosTests.state-version = { clan.nixosTests.state-version = {
name = "state-version"; name = "service-state-version";
clan = { clan = {
directory = ./.; directory = ./.;

View File

@@ -78,6 +78,6 @@ in
}; };
}; };
flake.checks.x86_64-linux.flash-installer-disk-test = flake.checks.x86_64-linux.nixos-test-flash-installer-disk =
self.nixosConfigurations.flash-installer.config.system.build.installTest; self.nixosConfigurations.flash-installer.config.system.build.installTest;
} }