fix: fix: cap caddy-validate step timeout so it fails fast instead of hanging the whole queue (implements #1124) (#1127) #1128

Closed
dev-qwen wants to merge 1 commit from fix/issue-1127 into main

View file

@ -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