From 31bb4bf422b0447e8585bad6cc08eecc9f1a1ef9 Mon Sep 17 00:00:00 2001 From: Ben Hearsum Date: Tue, 25 Mar 2025 21:33:31 -0400 Subject: [PATCH] feat: support volume artifact type for docker worker Implemented upstream in https://github.com/taskcluster/taskcluster/pull/7598 --- src/taskgraph/transforms/task.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/taskgraph/transforms/task.py b/src/taskgraph/transforms/task.py index ce8503a30..320524261 100644 --- a/src/taskgraph/transforms/task.py +++ b/src/taskgraph/transforms/task.py @@ -338,8 +338,9 @@ def verify_index(config, index): # artifacts to extract from the task image after completion Optional("artifacts"): [ { - # type of artifact -- simple file, or recursive directory - "type": Any("file", "directory"), + # type of artifact -- simple file, or recursive directory, + # or a volume mounted directory. + "type": Any("file", "directory", "volume"), # task image path from which to read artifact "path": str, # name of the produced artifact (root of the names for