Add network debug workflow
This commit is contained in:
24
.gitea/workflows/debug.yml
Normal file
24
.gitea/workflows/debug.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
name: Network Debug
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
debug:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: catthehacker/ubuntu:act-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Debug Network
|
||||||
|
run: < /dev/null |
|
||||||
|
echo "=== Network Info ==="
|
||||||
|
ip addr show
|
||||||
|
echo "=== DNS Resolution ==="
|
||||||
|
nslookup gitea || echo "nslookup failed"
|
||||||
|
echo "=== Ping Test ==="
|
||||||
|
ping -c 1 gitea || echo "ping failed"
|
||||||
|
echo "=== HTTP Test ==="
|
||||||
|
curl -v http://gitea:3000 || echo "curl failed"
|
||||||
|
echo "=== Container Networks ==="
|
||||||
|
cat /etc/resolv.conf
|
||||||
Reference in New Issue
Block a user