WIP: test data model thru VM #11

Closed
kiara wants to merge 70 commits from data-model-test-deployment-plain into deployment-data-model-with-tests
Showing only changes of commit e5eb0cadb0 - Show all commits

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