.gitea/workflows/test.yml aktualisiert
Build go program / Test-Gitea-Actions (push) Failing after 9s

add presetLocalContainer test
This commit is contained in:
2026-04-14 16:16:40 +02:00
parent 5e0009c545
commit 89536960b7
+2 -17
View File
@@ -9,24 +9,9 @@ jobs:
Test-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: Disable SSL verify (TEST ONLY)
run: git config --global http.sslVerify false
- name: Verify Fix
run: cat /etc/hosts
- name: PrintTest testing
uses: http://gitea.tecamino.local:8418/paadi/giteaGlobals/test@main
with:
myVar: "hallo from adrian"
- name: Force DNS Fix (Robust)
shell: sh
run: |
# Extrahiert die Gateway-IP aus der Routing-Tabelle ohne 'ip' Befehl
GATEWAY_IP=$(awk 'NR==2 {printf "%d.%d.%d.%d\n", "0x"substr($3,7,2), "0x"substr($3,5,2), "0x"substr($3,3,2), "0x"substr($3,1,2)}' /proc/net/route)
echo "Gefundene Gateway-IP: $GATEWAY_IP"
# Schreibt den Eintrag in die /etc/hosts
echo "$GATEWAY_IP gitea.tecamino.local" >> /etc/hosts
- name: Verify Fix
run: cat /etc/hosts
- name: testing preset container
uses: http://gitea.tecamino.local:8418/paadi/giteaGlobals/presetLocalContainer@main