fix: pass deploy SSH config
runner nix smoke / nix label and flake smoke (push) Failing after 8s

This commit is contained in:
2026-09-09 12:17:09 +00:00
parent 4253270da9
commit aeeee27a3d
2 changed files with 6 additions and 2 deletions
+5 -2
View File
@@ -9,10 +9,13 @@ HECTIC_NAMESPACE="deploy"
puressh() {
local known_hosts="${HECTIC_DEPLOY_KNOWN_HOSTS:-$HOME/.ssh/known_hosts}"
local identity_file="${HECTIC_DEPLOY_IDENTITY_FILE:-$HOME/.ssh/id_ed25519}"
# shellcheck disable=SC2068
local ssh_config="${HECTIC_DEPLOY_SSH_CONFIG:-}"
if [ -n "$ssh_config" ]; then
set -- -F "$ssh_config" "$@"
fi
ssh -o BatchMode=yes -o StrictHostKeyChecking=yes \
-o UserKnownHostsFile="$known_hosts" -o IdentitiesOnly=yes \
-i "$identity_file" $@
-i "$identity_file" "$@"
}
# echo <gens_list> | find_older_gen(gen)