Retry connection tests even when ECONNREFUSED
This commit is contained in:
parent
4077e9402a
commit
ec8a389e7c
@ -28,7 +28,7 @@ pipeline:
|
|||||||
- CON_NAME=$(docker run --rm -d plex-dev)
|
- CON_NAME=$(docker run --rm -d plex-dev)
|
||||||
- timeout -t 15 docker logs $$CON_NAME &
|
- timeout -t 15 docker logs $$CON_NAME &
|
||||||
- sleep 10 # Wait for plex to start!
|
- sleep 10 # Wait for plex to start!
|
||||||
- curl -sSL --retry-max-time 30 --max-time 5 --retry 10 --retry-delay 5
|
- curl -sSL --retry-max-time 30 --max-time 5 --retry 10 --retry-delay 5 --retry-connrefused
|
||||||
$(docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $$CON_NAME):32400/identity
|
$(docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $$CON_NAME):32400/identity
|
||||||
| tee /dev/stderr
|
| tee /dev/stderr
|
||||||
| xmlstarlet sel -t -v "/MediaContainer/@version"
|
| xmlstarlet sel -t -v "/MediaContainer/@version"
|
||||||
|
Loading…
Reference in New Issue
Block a user