From 52dc669782cd534c588ac68e6b4804a4bbe4ace0 Mon Sep 17 00:00:00 2001 From: Kelly Date: Mon, 15 Dec 2025 20:16:18 -0700 Subject: [PATCH] ci: Remove clone/volume config (requires admin trust) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Woodpecker doesn't allow custom clone or volumes without elevated trust. Kaniko layer caching (--cache-repo) still works (registry-based). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .woodpecker.yml | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index bb105e36..971e6542 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,19 +1,12 @@ -# Shallow clone - only fetch latest commit (faster checkout) -clone: - git: - depth: 1 - steps: # =========================================== # PR VALIDATION: Parallel type checks (PRs only) # =========================================== typecheck-backend: image: node:22 - volumes: - - npm-cache:/root/.npm commands: - cd backend - - npm ci --prefer-offline --cache /root/.npm + - npm ci --prefer-offline - npx tsc --noEmit depends_on: [] when: @@ -21,11 +14,9 @@ steps: typecheck-cannaiq: image: node:22 - volumes: - - npm-cache:/root/.npm commands: - cd cannaiq - - npm ci --prefer-offline --cache /root/.npm + - npm ci --prefer-offline - npx tsc --noEmit depends_on: [] when: @@ -33,11 +24,9 @@ steps: typecheck-findadispo: image: node:22 - volumes: - - npm-cache:/root/.npm commands: - cd findadispo/frontend - - npm ci --prefer-offline --cache /root/.npm + - npm ci --prefer-offline - npx tsc --noEmit 2>/dev/null || true depends_on: [] when: @@ -45,11 +34,9 @@ steps: typecheck-findagram: image: node:22 - volumes: - - npm-cache:/root/.npm commands: - cd findagram/frontend - - npm ci --prefer-offline --cache /root/.npm + - npm ci --prefer-offline - npx tsc --noEmit 2>/dev/null || true depends_on: [] when: