From 9a8d39bc23830bd5539691dbc4039276d1ed009b Mon Sep 17 00:00:00 2001 From: simple321vip <635344988@qq.com> Date: Fri, 10 Jul 2026 03:35:59 +0000 Subject: [PATCH] Update .drone.yml --- .drone.yml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8ea65a2..4759647 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,30 +24,8 @@ trigger: - master steps: - - name: debug-inotify - image: gitea.violin-work.online/registry/maven:3.9-eclipse-temurin-22 - security_context: - apparmor_profile: runtime/unconfined - commands: - - grep Seccomp /proc/self/status || true - - cat /proc/self/attr/current || true - - python3 -c "import ctypes; libc=ctypes.CDLL('libc.so.6'); fd=libc.inotify_init(); print('inotify_init:', fd); ret=libc.inotify_add_watch(fd, b'/tmp', 1); print('add_watch:', ret)" 2>&1 || true - - ulimit -n - - cat /proc/self/limits | grep "Max open files" - - apt-get update && apt-get install -y strace - - strace -e trace=inotify_add_watch -f -o /tmp/inotify.log - mvn clean install -DskipTests -B --no-transfer-progress - -Dmaven.watcher.disabled=true || true - - grep "inotify_add_watch" /tmp/inotify.log | wc -l - - head -50 /tmp/inotify.log - - name: compile image: gitea.violin-work.online/registry/maven:3.9-eclipse-temurin-22 - environment: - MAVEN_OPTS: >- - -Dmaven.watcher.disabled=true - -Dmaven.compiler.useIncrementalCompilation=false - -Xmx2g commands: - mkdir -p /root/.m2 - cp /config/settings.xml /root/.m2/settings.xml