keeper script tweaks

This commit is contained in:
Matthias Kretschmann 2019-11-07 13:12:54 +01:00
parent 5617af2891
commit a06adcca1e
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 2 additions and 2 deletions

View File

@ -11,10 +11,10 @@ mkdir -p artifacts
until [ $COMMAND_STATUS -eq 0 ] || [ $RETRY_COUNT -eq 120 ]; do
keeper_contracts_docker_id=$(docker container ls | grep keeper-contracts | awk '{print $1}')
docker cp ${keeper_contracts_docker_id}:/keeper-contracts/artifacts/ready ./artifacts/
docker cp ${keeper_contracts_docker_id}:/keeper-contracts/artifacts/ready ./artifacts/ > /dev/null 2>&1
COMMAND_STATUS=$?
sleep 5
let RETRY_COUNT=RETRY_COUNT+1
(( RETRY_COUNT=RETRY_COUNT+1 ))
done
printf '\e[32m✔ Found new contract artifacts.\e[0m\n'