forked from Fediversity/Fediversity
settle for hello, ditching cowsay
This commit is contained in:
parent
13139a4b4b
commit
ade292ec57
2 changed files with 1 additions and 6 deletions
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
targetMachines = [
|
targetMachines = [
|
||||||
"hello"
|
"hello"
|
||||||
"cowsay"
|
|
||||||
];
|
];
|
||||||
pathToRoot = ../../..;
|
pathToRoot = ../../..;
|
||||||
pathFromRoot = ./.;
|
pathFromRoot = ./.;
|
||||||
|
|
|
@ -46,7 +46,6 @@ in
|
||||||
extraTestScript = ''
|
extraTestScript = ''
|
||||||
with subtest("Check the status before deployment"):
|
with subtest("Check the status before deployment"):
|
||||||
hello.fail("hello 1>&2")
|
hello.fail("hello 1>&2")
|
||||||
cowsay.fail("cowsay 1>&2")
|
|
||||||
|
|
||||||
${lib.concatStringsSep "\n" (
|
${lib.concatStringsSep "\n" (
|
||||||
lib.lists.map (nodeName: ''
|
lib.lists.map (nodeName: ''
|
||||||
|
@ -110,11 +109,8 @@ in
|
||||||
# switch the remote host to the config
|
# 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"
|
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
|
'') targetMachines
|
||||||
)}
|
)}
|
||||||
|
|
||||||
with subtest("Check the deployment"):
|
|
||||||
hello.succeed("hello 1>&2")
|
|
||||||
cowsay.succeed("cowsay hi 1>&2")
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue