+ sleep 1 + curl-until-200 http://op.oils.pub/github-jobs/git-58d7057de95bf044d100ac888a6b258018087542/oils-for-unix.tar _release/oils-for-unix.tar 18 10 + local url=http://op.oils.pub/github-jobs/git-58d7057de95bf044d100ac888a6b258018087542/oils-for-unix.tar + local out_path=_release/oils-for-unix.tar + local num_retries=18 + local interval=10 ++ dirname _release/oils-for-unix.tar + mkdir -p _release + local i=0 + true + local http_code ++ curl --output _release/oils-for-unix.tar --write-out '%{http_code}' http://op.oils.pub/github-jobs/git-58d7057de95bf044d100ac888a6b258018087542/oils-for-unix.tar % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 13 3250k 13 448k 0 0 831k 0 0:00:03 --:--:-- 0:00:03 829k 100 3250k 100 3250k 0 0 4662k 0 --:--:-- --:--:-- --:--:-- 4656k + http_code=200 + test 200 = 200 + log 'Curl wrote _release/oils-for-unix.tar' + echo 'Curl wrote _release/oils-for-unix.tar' Curl wrote _release/oils-for-unix.tar + ls -l _release/oils-for-unix.tar -rw-r--r-- 1 uke uke 3328000 Jul 26 01:39 _release/oils-for-unix.tar + break