move fail in

This commit is contained in:
Kiara Grouwstra 2025-08-24 22:17:24 +02:00
parent c5d4d8e1e6
commit 6d56de3d57
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

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