[arvados] created: 2.7.0-6808-g93d238dfaf

git repository hosting git at public.arvados.org
Mon Jun 3 15:37:28 UTC 2024


        at  93d238dfaf029a18e4b641c2d1f951ecda521fac (commit)


commit 93d238dfaf029a18e4b641c2d1f951ecda521fac
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Mon Jun 3 11:36:21 2024 -0400

    21841: Add system properties 'workflowName' and 'container'
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/doc/api/properties.html.textile.liquid b/doc/api/properties.html.textile.liquid
index 175c59b8c4..f748e7ddc6 100644
--- a/doc/api/properties.html.textile.liquid
+++ b/doc/api/properties.html.textile.liquid
@@ -40,9 +40,11 @@ table(table table-bordered table-condensed).
 |container_request|collection|string|The UUID of the container request that produced an output or log collection.|
 |docker-image-repo-tag|collection|string|For collections containing a Docker image, the repo/name:tag identifier|
 |container_uuid|collection|string|The UUID of the container that produced a collection (set on collections with type=log)|
+|container|collection|string|(legacy) The UUID of the container that produced a collection.  Set on intermediate collections created by arvados-cwl-runner.  Starting with Arvados 2.6.0 a-c-r uses @container_uuid@ instead, but older versions of a-c-r may still set the @container@ property.|
 |cwl_input|container_request|object|On an intermediate container request, the CWL workflow-level input parameters used to generate the container request|
 |cwl_output|container_request|object|On an intermediate container request, the CWL workflow-level output parameters collected from the container request|
 |template_uuid|container_request|string|For a workflow runner container request, the workflow record that was used to launch it.|
+|workflowName|container_request|string|For a workflow runner container request, the "name" of the workflow record in @template_uuid@ at the time of launch (used for display only).|
 |username|link|string|For a "can_login":permission-model.html#links permission link, the unix username on the VM that the user will have.|
 |groups|link|array of string|For a "can_login":permission-model.html#links permission link, the unix groups on the VM that the user will be added to.|
 |image_timestamp|link|string|When resolving a Docker image name and multiple links are found with @link_class=docker_image_repo+tag@ and same @link_name@, the @image_timestamp@ is used to determine precedence (most recent wins).|
diff --git a/sdk/go/arvados/vocabulary.go b/sdk/go/arvados/vocabulary.go
index 1df43b5fb8..adde25cd92 100644
--- a/sdk/go/arvados/vocabulary.go
+++ b/sdk/go/arvados/vocabulary.go
@@ -35,15 +35,33 @@ func (v *Vocabulary) systemTagKeys() map[string]bool {
 		// Collection keys - set by arvados-cwl-runner
 		"container_request": true,
 		"container_uuid":    true,
-		"type":              true,
+
+		// legacy Collection key, set by arvados-cwl-runner,
+		// was changed to container_uuid in Arvados 2.6.0 but
+		// still gets set if an older version of a-c-r is
+		// used.
+		"container": true,
+
+		// Set by several components to indicate the intended
+		// role of a collection
+		"type": true,
+
 		// Collection keys - set by arv-keepdocker (on the way out)
 		"docker-image-repo-tag": true,
+
 		// Container request keys - set by arvados-cwl-runner
-		"cwl_input":     true,
-		"cwl_output":    true,
+		"cwl_input":  true,
+		"cwl_output": true,
+
+		// Container request key set alongside by Workbench 2
+		// to link to the Workflow definition used to launch
+		// the workflow
 		"template_uuid": true,
+		"workflowName":  true,
+
 		// Group keys
 		"filters": true,
+
 		// Link keys
 		"groups":          true,
 		"image_timestamp": true,

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list