mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
refactor(ci): scripts
This commit is contained in:
parent
c4fcb16fef
commit
5c73439cad
19 changed files with 288 additions and 207 deletions
7
ci/sops-keyscan.sh
Normal file
7
ci/sops-keyscan.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
ARG_NODE=$1
|
||||
shift
|
||||
ARG_HOSTNAME=$(nf-hostname "$ARG_NODE")
|
||||
|
||||
ssh-keyscan ''${NIX_SSHOPTS--p62954} "''${ARG_HOSTNAME#*@}" "$@" | ssh-to-age
|
||||
Loading…
Add table
Add a link
Reference in a new issue