X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7000c1ebd170001e10807b583a29e9e7e9570b23..347ece2d7c00703487b87998eab06c5edf8796db:/sdk/cwl/arvados_cwl/arv-cwl-schema-v1.0.yml diff --git a/sdk/cwl/arvados_cwl/arv-cwl-schema-v1.0.yml b/sdk/cwl/arvados_cwl/arv-cwl-schema-v1.0.yml index af75481431..fc370eb813 100644 --- a/sdk/cwl/arvados_cwl/arv-cwl-schema-v1.0.yml +++ b/sdk/cwl/arvados_cwl/arv-cwl-schema-v1.0.yml @@ -299,8 +299,8 @@ $graph: - type: record name: PropertyDef doc: | - Define a property that will be set on the submitted container - request associated with this workflow or step. + Define an arvados metadata property that will be set on a + container request or output collection. fields: - name: propertyName type: string @@ -400,3 +400,59 @@ $graph: _id: "@type" _type: "@vocab" usePreemptible: boolean + +- name: OutputCollectionProperties + type: record + extends: cwl:ProcessRequirement + inVocab: false + doc: | + Specify metadata properties that will be set on the output + collection associated with this workflow or step. + fields: + class: + type: string + doc: "Always 'arv:OutputCollectionProperties" + jsonldPredicate: + _id: "@type" + _type: "@vocab" + outputProperties: + type: PropertyDef[] + jsonldPredicate: + mapSubject: propertyName + mapPredicate: propertyValue + + +- name: KeepCacheType + type: enum + symbols: + - ram_cache + - disk_cache + doc: + - | + ram_cache: Keep blocks will be cached in RAM only. + - | + disk_cache: Keep blocks will be cached to disk and + memory-mapped. The disk cache leverages the kernel's virtual + memory system so "hot" data will generally still be kept in + RAM. + +- name: KeepCacheTypeRequirement + type: record + extends: cwl:ProcessRequirement + inVocab: false + doc: | + Choose keep cache strategy. + fields: + - name: class + type: string + doc: "'arv:KeepCacheTypeRequirement'" + jsonldPredicate: + _id: "@type" + _type: "@vocab" + - name: keepCacheType + type: KeepCacheType? + doc: | + Whether Keep blocks loaded by arv-mount should be kept in RAM + only or written to disk and memory-mapped. The disk cache + leverages the kernel's virtual memory system so "hot" data will + generally still be kept in RAM.