From 56c89ae5fe29749a5f6c91b0e985fa5f54bba230 Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Sun, 24 Aug 2025 18:13:22 +0200 Subject: [PATCH] settle for hello, ditching cowsay --- deployment/check/data-model/constants.nix | 1 - deployment/check/data-model/nixosTest.nix | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/deployment/check/data-model/constants.nix b/deployment/check/data-model/constants.nix index 3cf28d8f..0c8576a7 100644 --- a/deployment/check/data-model/constants.nix +++ b/deployment/check/data-model/constants.nix @@ -1,7 +1,6 @@ { targetMachines = [ "hello" - "cowsay" ]; pathToRoot = ../../..; pathFromRoot = ./.; diff --git a/deployment/check/data-model/nixosTest.nix b/deployment/check/data-model/nixosTest.nix index 2a85a0a8..127b2e2d 100644 --- a/deployment/check/data-model/nixosTest.nix +++ b/deployment/check/data-model/nixosTest.nix @@ -46,7 +46,6 @@ in extraTestScript = '' with subtest("Check the status before deployment"): hello.fail("hello 1>&2") - cowsay.fail("cowsay 1>&2") ${lib.concatStringsSep "\n" ( lib.lists.map (nodeName: '' @@ -110,11 +109,8 @@ in # switch the remote host to the config ssh "''${sshOpts[@]}" "$host" "nix-env --profile /nix/var/nix/profiles/system --set $outPath; $outPath/bin/switch-to-configuration switch" """) + ${nodeName}.succeed("${nodeName} 1>&2") '') targetMachines )} - - with subtest("Check the deployment"): - hello.succeed("hello 1>&2") - cowsay.succeed("cowsay hi 1>&2") ''; }