From 8fbaea70bdb75ecbc490a2c72051b33bfa0cd06c Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Sat, 27 Sep 2025 14:37:00 -0700 Subject: [PATCH] nixos/nebula: move test to subfolder --- nixos/tests/all-tests.nix | 2 +- nixos/tests/{nebula.nix => nebula/connectivity.nix} | 2 +- pkgs/by-name/ne/nebula/package.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename nixos/tests/{nebula.nix => nebula/connectivity.nix} (99%) diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 15f15e2fc212..4ade52acb47c 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -1011,7 +1011,7 @@ in defaults.services.ncps.cache.dataPath = "/path/to/ncps"; }; ndppd = runTest ./ndppd.nix; - nebula = runTest ./nebula.nix; + nebula.connectivity = runTest ./nebula/connectivity.nix; neo4j = runTest ./neo4j.nix; netbird = runTest ./netbird.nix; netbox-upgrade = runTest ./web-apps/netbox-upgrade.nix; diff --git a/nixos/tests/nebula.nix b/nixos/tests/nebula/connectivity.nix similarity index 99% rename from nixos/tests/nebula.nix rename to nixos/tests/nebula/connectivity.nix index 127f6b06a878..bf29838021e1 100644 --- a/nixos/tests/nebula.nix +++ b/nixos/tests/nebula/connectivity.nix @@ -2,7 +2,7 @@ let # We'll need to be able to trade cert files between nodes via scp. - inherit (import ./ssh-keys.nix pkgs) + inherit (import ../ssh-keys.nix pkgs) snakeOilPrivateKey snakeOilPublicKey ; diff --git a/pkgs/by-name/ne/nebula/package.nix b/pkgs/by-name/ne/nebula/package.nix index b17fb8a3651f..3ddad20ac370 100644 --- a/pkgs/by-name/ne/nebula/package.nix +++ b/pkgs/by-name/ne/nebula/package.nix @@ -26,7 +26,7 @@ buildGoModule rec { ldflags = [ "-X main.Build=${version}" ]; passthru.tests = { - inherit (nixosTests) nebula; + inherit (nixosTests.nebula) connectivity; }; meta = {