5 Commits

Author SHA1 Message Date
adtpdn bf9ae51702 chore(ci): use explicit ip for gitea in ssh config
Release / Build & Release (push) Failing after 2m26s
2026-07-03 18:21:13 +08:00
adtpdn 7a02eee277 chore(ci): use manual clone because checkout action overrides ssh settings
Release / Build & Release (push) Failing after 33s
2026-07-03 18:17:21 +08:00
adtpdn d6daed62b8 chore(ci): use proper gitea act_runner network config to resolve gitea internally
Release / Build & Release (push) Failing after 1m14s
2026-07-03 18:14:05 +08:00
adtpdn 0548f54168 chore(ci): rewrite thunderobot without ts suffix down to port 22 as well
Release / Build & Release (push) Has been cancelled
2026-07-03 18:04:37 +08:00
adtpdn 3fe8de2e32 chore(ci): alias magicdns thunderobot.tail5d6e8e.ts.net and strip port 222
Release / Build & Release (push) Failing after 14m23s
2026-07-03 18:04:13 +08:00
+13 -7
View File
@@ -26,21 +26,27 @@ jobs:
run: |
mkdir -p ~/.ssh
ssh-keyscan -p 22 172.18.0.2 >> ~/.ssh/known_hosts || true
# Direct IP routing avoids dns completely. The API returns SSH_PORT=222 but internally Gitea listens on 22.
# So we MUST map any connection to the internal port 22.
# Route all possible hostnames Gitea might hand out via API back to the internal docker port 22
printf "Host gitea\n HostName 172.18.0.2\n Port 22\n StrictHostKeyChecking no\n" > ~/.ssh/config
printf "Host thunderobot\n HostName 172.18.0.2\n Port 22\n StrictHostKeyChecking no\n" >> ~/.ssh/config
printf "Host thunderobot.tail5d6e8e.ts.net\n HostName 172.18.0.2\n Port 22\n StrictHostKeyChecking no\n" >> ~/.ssh/config
# Force checkout to use the mapped config
# Force checkout to rewrite port 222 down to 22
git config --global url."ssh://git@gitea/".insteadOf "ssh://git@gitea:222/"
git config --global url."ssh://git@gitea/".insteadOf "git@gitea:222:"
git config --global url."ssh://git@thunderobot.tail5d6e8e.ts.net/".insteadOf "ssh://git@thunderobot.tail5d6e8e.ts.net:222/"
git config --global url."ssh://git@thunderobot.tail5d6e8e.ts.net/".insteadOf "git@thunderobot.tail5d6e8e.ts.net:222:"
git config --global url."ssh://git@thunderobot/".insteadOf "ssh://git@thunderobot:222/"
git config --global url."ssh://git@thunderobot/".insteadOf "git@thunderobot:222:"
chmod 600 ~/.ssh/config
- name: Checkout Code
uses: actions/checkout@v4
with:
repository: danchie/tekton
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
run: |
# Use manual clone because actions/checkout overrides SSH settings and drops our Host aliases
eval "$(ssh-agent -s)"
ssh-add <(echo "${{ secrets.TEKTON_SSH_KEY }}")
git clone ssh://git@gitea/danchie/tekton.git .
git checkout $TAG_NAME
- name: Setup Godot (Cached)
run: |