18180: Support for requesting preemptible instances in CWL
[arvados.git] / sdk / cwl / arvados_cwl / arv-cwl-schema-v1.0.yml
index 6e2d4f1d92ab9471dd1bcc441b360eed12cc6a2c..443a027aea931090ef741f27072e5fb53973350c 100644 (file)
@@ -385,3 +385,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