Fix double success reporting
This commit is contained in:
parent
65aaa0bfdc
commit
e61d3dcbbd
2 changed files with 3 additions and 4 deletions
|
|
@ -159,7 +159,7 @@ in
|
|||
|
||||
for i in (seq ${cfg.retryCount})
|
||||
$command && begin
|
||||
echo "Success!"
|
||||
echo "Great success!"
|
||||
exit 0
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ in
|
|||
script =
|
||||
pkgs.writeScriptBin "kubeval" # fish
|
||||
''
|
||||
#! ${pkgs.fishMinimal}/bin/fish
|
||||
#! ${lib.getExe pkgs.fishMinimal}
|
||||
set --prepend PATH ${cfg.etcdPackage}/bin
|
||||
set --prepend PATH ${cfg.kubernetesPackage}/bin
|
||||
set --prepend PATH ${pkgs.retry}/bin
|
||||
|
|
@ -152,8 +152,7 @@ in
|
|||
|
||||
echo "kube-apiserver ready; applying manifest(s)"
|
||||
|
||||
${lib.getExe config.kluctl.script} --yes --no-wait && echo "Great success!"
|
||||
|
||||
${lib.getExe config.kluctl.script} --yes --no-wait
|
||||
exit $status
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue