[ARVADOS] updated: 2.1.0-2390-g1eb881796

Git user git at public.arvados.org
Fri May 6 14:23:45 UTC 2022


Summary of changes:
 sdk/cwl/arvados_cwl/executor.py | 4 ++++
 1 file changed, 4 insertions(+)

       via  1eb881796a672247db251fd7298b0a7253f83259 (commit)
      from  bea50608be40f5ecf218fa5be75213579ad95eca (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 1eb881796a672247db251fd7298b0a7253f83259
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Fri May 6 10:23:03 2022 -0400

    19070: --create/update-workflow also implies --match-submitter-images
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/sdk/cwl/arvados_cwl/executor.py b/sdk/cwl/arvados_cwl/executor.py
index eace9f449..0daa15d5f 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

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list