commit 4cd83e0e4e14d958ad001c8a8d673b83ba546042 Author: ci Date: Sat Oct 10 10:58:09 2026 -0700 ci12 diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..a22db68 --- /dev/null +++ b/.drone.yml @@ -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 &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 2>&1 && echo \"10.2.4.$i:$p OPEN\"; done; done || true" + - "echo ===DONE==="