summary refs log tree commit diff
path: root/fleet/test
blob: 1512e49f41c356f56bb1bd887571f530dcb71541 (plain)
1
2
3
4
5
6
7
8
9
10
#! /usr/bin/env bash
# SPDX-FileCopyrightText: V <v@unfathomable.blue>
# SPDX-License-Identifier: OSL-3.0
set -euo pipefail

git add . && git commit -m WIP || true
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 --keep-going
done