13219: Adds TimeLimit support on Arvados CWL schema.
authorLucas Di Pentima <ldipentima@veritasgenetics.com>
Tue, 3 Jul 2018 19:37:39 +0000 (16:37 -0300)
committerLucas Di Pentima <ldipentima@veritasgenetics.com>
Tue, 3 Jul 2018 19:37:39 +0000 (16:37 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

sdk/cwl/arvados_cwl/arv-cwl-schema.yml

index 2ab96c94f0b3e54b42ae51b9b9f42eca6c7071fc..4eaa8536c467e123d5aad654a358ab49d1908d79 100644 (file)
@@ -47,6 +47,28 @@ $graph:
         "_type": "@id"
         refScope: 0
 
+- name: cwltool:TimeLimit
+  type: record
+  inVocab: false
+  extends: cwl:ProcessRequirement
+  doc: |
+    Set an upper limit on the execution time of a CommandLineTool or
+    ExpressionTool.  A tool execution which exceeds the time limit may
+    be preemptively terminated and considered failed.  May also be
+    used by batch systems to make scheduling decisions.
+  fields:
+    - name: class
+      type: string
+      doc: "Always 'TimeLimit'"
+      jsonldPredicate:
+        "_id": "@type"
+        "_type": "@vocab"
+    - name: timelimit
+      type: [long, string]
+      doc: |
+        The time limit, in seconds.  A time limit of zero means no
+        time limit.  Negative time limits are an error.
+
 - name: RunInSingleContainer
   type: record
   extends: cwl:ProcessRequirement