From 094f30160bb5184738da209bf807fb73727fb3a5 Mon Sep 17 00:00:00 2001 From: Bastien Orivel Date: Mon, 2 Feb 2026 12:34:34 +0100 Subject: [PATCH] Update taskgraph:decision to v18 --- .taskcluster.yml | 2 +- taskcluster/docker/python/Dockerfile | 7 +++---- taskcluster/kinds/tox/kind.yml | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index 6a11f3a6..8c68c67c 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -224,7 +224,7 @@ tasks: features: taskclusterProxy: true - image: mozillareleases/taskgraph:decision-v7.2.1@sha256:6ff20f06a760af0d47d3f54c8c334a1b20afbbc54d7b36b49a542ce828762ff8 + image: mozillareleases/taskgraph:decision-v18.1.0@sha256:e89736b69b43595f66beb86d88eaf4fdd9faccf56fdec8042e939bab4f31b53a maxRunTime: 1800 command: diff --git a/taskcluster/docker/python/Dockerfile b/taskcluster/docker/python/Dockerfile index ace003c8..e42b48ea 100644 --- a/taskcluster/docker/python/Dockerfile +++ b/taskcluster/docker/python/Dockerfile @@ -7,11 +7,10 @@ ARG UV_VERSION FROM ghcr.io/astral-sh/uv:${UV_VERSION}-python${PYTHON_VERSION}-bookworm-slim # Add worker user -RUN mkdir /builds && \ +RUN mkdir -p /builds/worker/artifacts && \ groupadd -g 1000 -o worker && \ useradd -d /builds/worker -s /bin/bash -m worker -g 1000 -o -u 1000 && \ - mkdir /builds/worker/artifacts && \ - chown worker:worker /builds/worker/artifacts + chown -R worker:worker /builds/worker # %include-run-task @@ -25,7 +24,7 @@ ENV SHELL=/bin/bash \ PATH=/builds/worker/.local/bin:$PATH VOLUME /builds/worker/checkouts -VOLUME /builds/worker/.cache +VOLUME /builds/worker/.task-cache/uv # Set a default command useful for debugging CMD ["/bin/bash", "--login"] diff --git a/taskcluster/kinds/tox/kind.yml b/taskcluster/kinds/tox/kind.yml index 8a95aa95..78481242 100644 --- a/taskcluster/kinds/tox/kind.yml +++ b/taskcluster/kinds/tox/kind.yml @@ -22,7 +22,7 @@ task-defaults: max-run-time: 1800 run: using: run-task - cache-dotcache: false + use-caches: [checkout,uv] checkout: scriptworker: {} # sparse-profile: str/none