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 <noreply@anthropic.com>
This commit is contained in:
parent
d368f904fb
commit
c5bf137b30
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ steps:
|
||||||
image: alpine:3.19
|
image: alpine:3.19
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache ca-certificates curl
|
- 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
|
- chmod +x /tmp/caddy
|
||||||
- /tmp/caddy version
|
- /tmp/caddy version
|
||||||
- /tmp/caddy validate --config edge-render/Caddyfile.rendered --adapter caddyfile
|
- /tmp/caddy validate --config edge-render/Caddyfile.rendered --adapter caddyfile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue