From 7d01c644639aa75500c8cfb2a2b7bfd83941eac3 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Fri, 6 May 2022 10:23:03 -0400 Subject: [PATCH] 19070: --create/update-workflow also implies --match-submitter-images Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- sdk/cwl/arvados_cwl/executor.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdk/cwl/arvados_cwl/executor.py b/sdk/cwl/arvados_cwl/executor.py index eace9f449f..0daa15d5f0 100644 --- a/sdk/cwl/arvados_cwl/executor.py +++ b/sdk/cwl/arvados_cwl/executor.py @@ -545,7 +545,11 @@ The 'jobs' API is no longer supported. runtimeContext.name = self.name = updated_tool.tool.get("label") or updated_tool.metadata.get("label") or os.path.basename(updated_tool.tool["id"]) if self.runtimeContext.copy_deps is None and (runtimeContext.create_workflow or runtimeContext.update_workflow): + # When creating or updating workflow record, by default + # always copy dependencies and ensure Docker images are up + # to date. self.runtimeContext.copy_deps = True + self.runtimeContext.match_local_docker = True if self.runtimeContext.update_workflow and self.project_uuid is None: # If we are updating a workflow, make sure anything that -- 2.30.2