Merge pull request 'fix: cap caddy-validate download timeout (implements #1127)' (#1131) from hotpatch/1127-caddy-timeout into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
Reviewed-on: #1131
This commit is contained in:
commit
e897d83115
1 changed files with 1 additions and 1 deletions
|
|
@ -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 --connect-timeout 10 --max-time 60 -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue