Merge pull request #7089 from jakemcdermott/update-zuul-download-script

Use man pages

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot] 2020-05-19 21:42:13 +00:00 committed by GitHub
commit fe7a51f8f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,5 @@
REVISION=588429
CHROMIUM_URL="https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64/${REVISION}/chrome-linux.zip"
interval=30
retries=6
status=1
until [ $retries -eq 0 ] || [ $status -eq 0 ]; do
wget ${CHROMIUM_URL} -O /tmp/chrome-linux.zip
status=$?
sleep $interval
((retries--))
done
wget ${CHROMIUM_URL} -w 30 -t 6 -O /tmp/chrome-linux.zip
unzip -o -d /tmp /tmp/chrome-linux.zip