tawasuyu

sergio/takana

> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…

TOML 1572Shell 203Rust 109Markdown 993728 Definitions

Etapa G: harvest-go fija GIT_SSH_COMMAND (clave github5/tawasuyu) p/ push desde cron sin agente

b1525ec203efe5d61049b937886cb19d400a72e4 · by sergio · (3 months ago) · parent 0f4f13b31 · browse the tree at this commit

Semantic delta

No definition changed: this change is text, documentation or data.

1 files · +3 −0

diff --git a/scripts/farm/harvest-go.sh b/scripts/farm/harvest-go.sh
index 3b41de35..7aabc4db 100755
--- a/scripts/farm/harvest-go.sh
+++ b/scripts/farm/harvest-go.sh
@@ -34,6 +34,9 @@ SEAL_TIMEOUT="${SEAL_TIMEOUT:-60}"
 QUEUE="recipes/incoming-go"
 REVIEW="tandas/needs-review-weekend"
 SSH="ssh -i $SSH_KEY -o StrictHostKeyChecking=accept-new -o ConnectTimeout=20"
+# git push/pull a gitea (origin) usa la MISMA clave que el farm (github5 = clave "tawasuyu"). Fijarla
+# explícita para que el cron funcione sin ssh-agent.
+export GIT_SSH_COMMAND="ssh -i $SSH_KEY -o IdentitiesOnly=yes -o StrictHostKeyChecking=accept-new"
 STAMP() { date -u +%FT%TZ; }
 
 # Lock: una sola cosecha a la vez (el cron no se solapa).