Split large line in test step for readability
[CI SKIP]
This commit is contained in:
parent
d1693a6e7b
commit
0048180ff5
@ -24,7 +24,10 @@ pipeline:
|
|||||||
- CON_NAME=$(docker run --rm -d -p 32400:32400 plex-dev)
|
- CON_NAME=$(docker run --rm -d -p 32400:32400 plex-dev)
|
||||||
- sleep 10 # Wait for plex to start!
|
- sleep 10 # Wait for plex to start!
|
||||||
- docker logs $$CON_NAME
|
- docker logs $$CON_NAME
|
||||||
- curl -sSL $(docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $$CON_NAME):32400/identity | tee /dev/stderr | xmlstarlet sel -t -v "/MediaContainer/@version" | grep -qw $CUR_VERSION
|
- curl -sSL $(docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $$CON_NAME):32400/identity \
|
||||||
|
| tee /dev/stderr \
|
||||||
|
| xmlstarlet sel -t -v "/MediaContainer/@version" \
|
||||||
|
| grep -qw $CUR_VERSION
|
||||||
- docker kill $$CON_NAME # Not really needed, but keeps things quick
|
- docker kill $$CON_NAME # Not really needed, but keeps things quick
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
Loading…
Reference in New Issue
Block a user