Fix drone test without continuation escapes

This commit is contained in:
Joe Groocock 2017-09-19 23:44:59 +01:00
parent 59c0672010
commit 0e6cb00bde
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -24,9 +24,9 @@ pipeline:
- CON_NAME=$(docker run --rm -d plex-dev)
- sleep 10 # Wait for plex to start!
- 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" \
- 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