refactor(ci): scripts

This commit is contained in:
arcnmx 2024-02-22 11:46:52 -08:00
parent c4fcb16fef
commit 5c73439cad
19 changed files with 288 additions and 207 deletions

7
ci/setup.sh Normal file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -eu
SETUP_HOSTNAME=''${1-reisen}
exec ssh root@$SETUP_HOSTNAME env \
"${NF_SETUP_INPUTS[@]}" \
"bash -c \"eval \\\"\\\$(base64 -d <<<\\\$INPUT_INFRA_SETUP)\\\"\""