forked from Fediversity/Fediversity
move fail in
This commit is contained in:
parent
64a360b556
commit
130eee3049
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue