summary refs log tree commit diff
path: root/fleet/test
blob: 22f98b0e1fbcaf972b75be67512ea5d0f8a8b5b8 (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
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