summary refs log tree commit diff
path: root/fleet/test
diff options
context:
space:
mode:
Diffstat (limited to 'fleet/test')
-rwxr-xr-xfleet/test7
1 files changed, 4 insertions, 3 deletions
diff --git a/fleet/test b/fleet/test
index 5b804c0..22f98b0 100755
--- a/fleet/test
+++ b/fleet/test
@@ -4,6 +4,7 @@
 set -euo pipefail
 
 git add . && git commit -m WIP
-git push -f kaikou trunk && ssh kaikou-root nixos-rebuild test --show-trace
-git push -f vityaz trunk && ssh vityaz-root nixos-rebuild test --show-trace
-git push -f trieste trunk && ssh trieste-root nixos-rebuild test --show-trace
+for host in kaikou vityaz trieste; do
+    target=root@$host.unfathomable.blue
+    git push -f $target:/etc/nixos trunk && ssh $target nixos-rebuild test --show-trace
+done