.gitea/workflows/test.yml aktualisiert
Build go program / Test-Gitea-Actions (push) Failing after 9s
Build go program / Test-Gitea-Actions (push) Failing after 9s
add presetLocalContainer test
This commit is contained in:
@@ -9,24 +9,9 @@ jobs:
|
|||||||
Test-Gitea-Actions:
|
Test-Gitea-Actions:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Disable SSL verify (TEST ONLY)
|
|
||||||
run: git config --global http.sslVerify false
|
|
||||||
|
|
||||||
- name: Verify Fix
|
|
||||||
run: cat /etc/hosts
|
|
||||||
- name: PrintTest testing
|
- name: PrintTest testing
|
||||||
uses: http://gitea.tecamino.local:8418/paadi/giteaGlobals/test@main
|
uses: http://gitea.tecamino.local:8418/paadi/giteaGlobals/test@main
|
||||||
with:
|
with:
|
||||||
myVar: "hallo from adrian"
|
myVar: "hallo from adrian"
|
||||||
|
- name: testing preset container
|
||||||
- name: Force DNS Fix (Robust)
|
uses: http://gitea.tecamino.local:8418/paadi/giteaGlobals/presetLocalContainer@main
|
||||||
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
|
|
||||||
Reference in New Issue
Block a user