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;
name = "borgbackup";
name = "service-borgbackup";
clan = {
directory = ./.;

View File

@@ -20,7 +20,7 @@ nixosLib.runTest (
];
hostPkgs = pkgs;
name = "data-mesher";
name = "service-data-mesher";
clan = {
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: To debug, enter the VM and run 'systemctl status backdoor.service'.
checks = pkgs.lib.mkIf (pkgs.stdenv.isLinux && !pkgs.stdenv.isAarch64) {
installation = self.clanLib.test.baseTest {
nixos-test-installation = self.clanLib.test.baseTest {
name = "installation";
nodes.target = {
services.openssh.enable = true;
@@ -210,7 +210,7 @@ in
'';
} { inherit pkgs self; };
update-hardware-configuration = self.clanLib.test.baseTest {
nixos-test-update-hardware-configuration = self.clanLib.test.baseTest {
name = "update-hardware-configuration";
nodes.installer = installer;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -5,7 +5,7 @@
{
clan.nixosTests.state-version = {
name = "state-version";
name = "service-state-version";
clan = {
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;
}