3
0
Fork 0
forked from mirrors/nixpkgs

nixos/tests: Add names

This commit is contained in:
Robert Hensing 2022-06-26 00:14:38 +02:00
parent 0af6e6b0e5
commit e260018f9c
10 changed files with 16 additions and 0 deletions

View file

@ -1,5 +1,6 @@
import ./make-test-python.nix ( import ./make-test-python.nix (
{ {
name = "corerad";
nodes = { nodes = {
router = {config, pkgs, ...}: { router = {config, pkgs, ...}: {
config = { config = {

View file

@ -1,4 +1,5 @@
import ./make-test-python.nix ({ pkgs, ... }: { import ./make-test-python.nix ({ pkgs, ... }: {
name = "ghostunnel";
nodes = { nodes = {
backend = { pkgs, ... }: { backend = { pkgs, ... }: {
services.nginx.enable = true; services.nginx.enable = true;

View file

@ -1,4 +1,6 @@
import ../make-test-python.nix { import ../make-test-python.nix {
name = "lorri";
nodes.machine = { pkgs, ... }: { nodes.machine = { pkgs, ... }: {
imports = [ ../../modules/profiles/minimal.nix ]; imports = [ ../../modules/profiles/minimal.nix ];
environment.systemPackages = [ pkgs.lorri ]; environment.systemPackages = [ pkgs.lorri ];

View file

@ -7,6 +7,8 @@ with pkgs.lib;
let let
matomoTest = package: matomoTest = package:
makeTest { makeTest {
name = "matomo";
nodes.machine = { config, pkgs, ... }: { nodes.machine = { config, pkgs, ... }: {
services.matomo = { services.matomo = {
package = package; package = package;

View file

@ -3,6 +3,8 @@ import ../make-test-python.nix ({ pkgs, ... }:
name = "conduit"; name = "conduit";
in in
{ {
name = "matrix-conduit";
nodes = { nodes = {
conduit = args: { conduit = args: {
services.matrix-conduit = { services.matrix-conduit = {

View file

@ -19,6 +19,7 @@ let
}); });
testLegacyNetwork = { nixopsPkg }: pkgs.nixosTest ({ testLegacyNetwork = { nixopsPkg }: pkgs.nixosTest ({
name = "nixops-legacy-network";
nodes = { nodes = {
deployer = { config, lib, nodes, pkgs, ... }: { deployer = { config, lib, nodes, pkgs, ... }: {
imports = [ ../../modules/installer/cd-dvd/channel.nix ]; imports = [ ../../modules/installer/cd-dvd/channel.nix ];

View file

@ -2,6 +2,7 @@ let
name = "pam"; name = "pam";
in in
import ../make-test-python.nix ({ pkgs, ... }: { import ../make-test-python.nix ({ pkgs, ... }: {
name = "pam-file-contents";
nodes.machine = { ... }: { nodes.machine = { ... }: {
imports = [ ../../modules/profiles/minimal.nix ]; imports = [ ../../modules/profiles/minimal.nix ];

View file

@ -5,6 +5,8 @@ import ./make-test-python.nix (
mode = "0640"; mode = "0640";
}; };
in { in {
name = "pppd";
nodes = { nodes = {
server = {config, pkgs, ...}: { server = {config, pkgs, ...}: {
config = { config = {

View file

@ -1,4 +1,6 @@
import ./make-test-python.nix { import ./make-test-python.nix {
name = "thelounge";
nodes = { nodes = {
private = { config, pkgs, ... }: { private = { config, pkgs, ... }: {
services.thelounge = { services.thelounge = {

View file

@ -1,5 +1,7 @@
import ./make-test-python.nix ( import ./make-test-python.nix (
{ {
name = "zrepl";
nodes.host = {config, pkgs, ...}: { nodes.host = {config, pkgs, ...}: {
config = { config = {
# Prerequisites for ZFS and tests. # Prerequisites for ZFS and tests.