Auto merge of #27749 - servo:jdm-patch-48, r=jdm

Support gzip artifacts.
This commit is contained in:
bors-servo 2020-11-11 13:08:34 -05:00 committed by GitHub
commit 6d1472d2b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -304,7 +304,7 @@ class Task:
def with_curl_script(self, url, file_path):
return self \
.with_script("""
curl --retry 5 --connect-timeout 10 -Lf "%s" -o "%s"
curl --compressed --retry 5 --connect-timeout 10 -Lf "%s" -o "%s"
""" % (url, file_path))
def with_curl_artifact_script(self, task_id, artifact_name, out_directory=""):