diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-11-07 21:03:15 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-11-12 14:18:52 +0100 |
commit | 56dd10c2eee21f1107b4b250f8a5abd8cef65a3c (patch) | |
tree | def60d14a9caec908d8abdd24dd4c320807d4047 /etc/taskcluster/decisionlib.py | |
parent | cb693b32289adce6532a5453b96c751de8ac7673 (diff) | |
download | servo-56dd10c2eee21f1107b4b250f8a5abd8cef65a3c.tar.gz servo-56dd10c2eee21f1107b4b250f8a5abd8cef65a3c.zip |
Revert "Upload uncompressed Docker images"
https://bugzilla.mozilla.org/show_bug.cgi?id=1593543 is fixed.
This reverts commit 5abb013dfdacaf9b7029b4c07dcb93c016e378b8.
Diffstat (limited to 'etc/taskcluster/decisionlib.py')
-rw-r--r-- | etc/taskcluster/decisionlib.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/taskcluster/decisionlib.py b/etc/taskcluster/decisionlib.py index 976e5cd99d2..254e1b3a301 100644 --- a/etc/taskcluster/decisionlib.py +++ b/etc/taskcluster/decisionlib.py @@ -766,24 +766,24 @@ class DockerWorkerTask(UnixTaskMixin, Task): .with_index_and_artifacts_expire_in(CONFIG.docker_images_expire_in) .with_features("dind") .with_env(DOCKERFILE=dockerfile_contents) - .with_artifacts("/image.tar") + .with_artifacts("/image.tar.lz4") .with_script(""" echo "$DOCKERFILE" | docker build -t taskcluster-built - - docker save taskcluster-built > /image.tar + docker save taskcluster-built | lz4 > /image.tar.lz4 """) .with_docker_image( # https://github.com/servo/taskcluster-bootstrap-docker-images#image-builder "servobrowser/taskcluster-bootstrap:image-builder@sha256:" \ "0a7d012ce444d62ffb9e7f06f0c52fedc24b68c2060711b313263367f7272d9d" ) - .find_or_create("docker-image-uncompressed." + digest) + .find_or_create("docker-image." + digest) ) return self \ .with_dependencies(image_build_task) \ .with_docker_image({ "type": "task-image", - "path": "public/image.tar", + "path": "public/image.tar.lz4", "taskId": image_build_task, }) |