allways pull latest container before running tests

This commit is contained in:
Andreas Antener 2016-04-20 17:23:05 +02:00
parent 0282321304
commit dab7d1f828
1 changed files with 8 additions and 4 deletions

View File

@ -11,10 +11,14 @@ if [ -z "$WORKSPACE" ]; then
fi
# Pulling latest image
# TODO: remove old one to save space, until then, update manually
#echo "===> pull latest Docker image"
#docker pull px4io/sitl-testing
#echo "<==="
echo "===> pull latest Docker image"
docker pull px4io/px4-dev-ros
# removing some images might fail
set +e
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
set -e
echo "<==="
#
# Running SITL testing container