diff options
author | edef <edef@unfathomable.blue> | 2022-06-20 10:36:17 +0000 |
---|---|---|
committer | edef <edef@unfathomable.blue> | 2022-06-20 11:00:00 +0000 |
commit | fe68d49956bbeaef937aaa7647c107256753b097 (patch) | |
tree | e1c5be97ed6e67e2c4300ec73a58491f0c5e35fe /fleet/test | |
parent | ea030636aa3c14b9c997ad2ad76f01fbb9d4d212 (diff) | |
download | unf-legacy-fe68d49956bbeaef937aaa7647c107256753b097.tar.zst |
fleet/test: don't rely on SSH config and repo remotes
Change-Id: I066a1fdbeabef0c2c38dcb0740c89eb056bb62f5
Diffstat (limited to 'fleet/test')
-rwxr-xr-x | fleet/test | 7 |
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 |