18180: Support for requesting preemptible instances in CWL
[arvados.git] / sdk / cwl / arvados_cwl / arv-cwl-schema-v1.2.yml
index e9f70bf1cf63616408e78f7d4278ae6b3e4e4c9f..8ca064a6e57f07a559d064807c550ca4a1dff19d 100644 (file)
@@ -330,3 +330,18 @@ $graph:
       doc: |
         Maximum number of GPU devices to request.  If not specified,
         same as `cudaDeviceCountMin`.
+
+- name: UsePreemptible
+  type: record
+  extends: cwl:ProcessRequirement
+  inVocab: false
+  doc: |
+    Specify a workflow step should opt-in or opt-out of using preemptible (spot) instances.
+  fields:
+    class:
+      type: string
+      doc: "Always 'arv:ProcessProperties"
+      jsonldPredicate:
+        _id: "@type"
+        _type: "@vocab"
+    usePreemptible: boolean