tokenbridge/e2e-commons/pull.sh

16 lines
329 B
Bash
Raw Normal View History

2020-07-14 17:53:05 +03:00
#!/usr/bin/env bash
cd $(dirname $0)
set -e # exit when any command fails
docker-compose pull e2e
while [ "$1" != "" ]; do
if [ "$1" == "oracle" ]; then
docker-compose pull oracle
elif [ "$1" == "monitor" ]; then
docker-compose pull monitor
elif [ "$1" == "ui" ]; then
docker-compose pull ui
fi
shift
done