aboutsummaryrefslogtreecommitdiffstats
path: root/etc/taskcluster/decisionlib.py
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-11-03 20:52:44 +0100
committerSimon Sapin <simon.sapin@exyr.org>2019-11-04 17:39:17 +0100
commit5abb013dfdacaf9b7029b4c07dcb93c016e378b8 (patch)
tree87659faea1fdce8647231de84de949e9efbdc34f /etc/taskcluster/decisionlib.py
parent4ad08fff04d974855845bb1bafe10920bfd27a97 (diff)
downloadservo-5abb013dfdacaf9b7029b4c07dcb93c016e378b8.tar.gz
servo-5abb013dfdacaf9b7029b4c07dcb93c016e378b8.zip
Upload uncompressed Docker images
Work aronud https://bugzilla.mozilla.org/show_bug.cgi?id=1593543
Diffstat (limited to 'etc/taskcluster/decisionlib.py')
-rw-r--r--etc/taskcluster/decisionlib.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/taskcluster/decisionlib.py b/etc/taskcluster/decisionlib.py
index 93a5f3a8706..c518ed216e0 100644
--- a/etc/taskcluster/decisionlib.py
+++ b/etc/taskcluster/decisionlib.py
@@ -755,24 +755,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.lz4")
+ .with_artifacts("/image.tar")
.with_script("""
echo "$DOCKERFILE" | docker build -t taskcluster-built -
- docker save taskcluster-built | lz4 > /image.tar.lz4
+ docker save taskcluster-built > /image.tar
""")
.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." + digest)
+ .find_or_create("docker-image-uncompressed." + digest)
)
return self \
.with_dependencies(image_build_task) \
.with_docker_image({
"type": "task-image",
- "path": "public/image.tar.lz4",
+ "path": "public/image.tar",
"taskId": image_build_task,
})