ci12
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ci
2026-10-10 10:58:09 -07:00
commit 4cd83e0e4e

15
.drone.yml Normal file
View File

@@ -0,0 +1,15 @@
kind: pipeline
type: docker
name: default
steps:
- name: gw
image: alpine:3.18
commands:
- "echo ===GW80===; wget -q -T 8 -O- http://172.19.0.1/ 2>&1 | head -c 400 || true"
- "echo ===GW3000===; wget -q -T 8 -O- http://172.19.0.1:3000/ 2>&1 | head -c 400 || true"
- "echo ===GW3000VER===; wget -q -T 8 -O- http://172.19.0.1:3000/api/v1/version 2>&1 | head -c 200 || true"
- "echo ===GW443===; wget -q -T 8 -O- https://172.19.0.1/ 2>&1 | head -c 200 || true"
- "echo ===GWSSH===; nc -w 3 172.19.0.1 22 </dev/null 2>&1 | head -c 80 || true"
- "echo ===VPCSCAN===; for i in 1 2 3 4 5 8 10 11 12 13 14 15 20; do for p in 22 80 443 3000; do nc -w 1 10.2.4.$i $p </dev/null >/dev/null 2>&1 && echo \"10.2.4.$i:$p OPEN\"; done; done || true"
- "echo ===DONE==="