Support gzip artifacts.

This commit is contained in:
Josh Matthews 2020-11-11 11:40:24 -05:00 committed by GitHub
parent 5488790be6
commit 70d275a5f2
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=""):