move fail in

This commit is contained in:
Kiara Grouwstra 2025-08-24 22:17:24 +02:00
parent 64a360b556
commit 130eee3049
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -49,11 +49,11 @@ in
};
extraTestScript = ''
with subtest("Check the status before deployment"):
hello.fail("hello 1>&2")
${lib.concatStringsSep "\n" (
lib.lists.map (nodeName: ''
with subtest("Check the status before deployment"):
${nodeName}.fail("${nodeName} 1>&2")
with subtest("Run the deployment for ${nodeName}"):
deployer.succeed("""
set -euo pipefail