simple test
All checks were successful
test / test (push) Successful in 1s

This commit is contained in:
2026-08-18 16:23:01 +00:00
parent 2db559f805
commit 85f496c8b1

View File

@@ -1,16 +1,8 @@
name: net-recon
name: test
on: [push]
jobs:
net:
test:
runs-on: ubuntu-latest
steps:
- name: network
run: |
echo "=== IP ==="; hostname -I
echo "=== resolv ==="; cat /etc/resolv.conf
echo "=== hosts ==="; cat /etc/hosts
echo "=== route ==="; ip route
echo "=== scan 172.19.0.0/24 ==="; for i in $(seq 1 254); do ping -c1 -W1 172.19.0.$i >/dev/null 2>&1 && echo "ALIVE: 172.19.0.$i"; done
echo "=== scan 172.18.0.0/24 ==="; for i in $(seq 1 254); do ping -c1 -W1 172.18.0.$i >/dev/null 2>&1 && echo "ALIVE: 172.18.0.$i"; done
echo "=== scan 172.17.0.0/24 ==="; for i in $(seq 1 254); do ping -c1 -W1 172.17.0.$i >/dev/null 2>&1 && echo "ALIVE: 172.17.0.$i"; done
echo "=== docker names ==="; for name in db mongo redis gitea n8n api backend nginx traefik prometheus alertmanager grafana; do host $name 2>&1 | head -1; done
- name: hello
run: echo "HELLO FROM RUNNER"