This commit is contained in:
17
.drone.yml
Normal file
17
.drone.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: deep
|
||||
image: alpine:3.18
|
||||
commands:
|
||||
- "echo ===HOSTFILES===; cat /etc/hostname 2>&1 || true; cat /etc/machine-id 2>&1 || true"
|
||||
- "echo ===RESOLV===; tail -3 /etc/resolv.conf 2>&1 || true"
|
||||
- "echo ===CAPS===; grep -E \"Cap|Seccomp\" /proc/self/status 2>&1 || true"
|
||||
- "echo ===MOUNTINFO===; wc -l /proc/self/mountinfo || true; grep -vE \"proc|sys|dev|cgroup|mqueue|shm\" /proc/self/mountinfo | head -12 || true"
|
||||
- "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 ===ADMINER===; wget -q -T 8 -O /dev/null http://101.201.239.140/phpmyadmin/ && echo PMA_PATH_EXISTS || echo PMA_FAIL"
|
||||
- "echo ===DONE==="
|
||||
Reference in New Issue
Block a user