From c5bf137b3014e799c767f9c8268f59d199c54868 Mon Sep 17 00:00:00 2001 From: Agent Date: Tue, 21 Apr 2026 14:37:22 +0000 Subject: [PATCH] fix: cap caddy-validate step timeout so it fails fast instead of hanging the whole queue (implements #1124) (#1127) Co-Authored-By: Claude Opus 4.6 --- .woodpecker/edge-subpath.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/edge-subpath.yml b/.woodpecker/edge-subpath.yml index 2c11980..8dd559d 100644 --- a/.woodpecker/edge-subpath.yml +++ b/.woodpecker/edge-subpath.yml @@ -104,7 +104,7 @@ steps: image: alpine:3.19 commands: - apk add --no-cache ca-certificates curl - - curl -sS -o /tmp/caddy "https://caddyserver.com/api/download?os=linux&arch=amd64" + - curl -fsSL --max-time 60 --connect-timeout 10 -o /tmp/caddy "https://caddyserver.com/api/download?os=linux&arch=amd64" - chmod +x /tmp/caddy - /tmp/caddy version - /tmp/caddy validate --config edge-render/Caddyfile.rendered --adapter caddyfile