21700: Install Bundler system-wide in Rails postinst
[arvados.git] / services / api / test / fixtures / workflows.yml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 workflow_with_definition_yml:
6   uuid: zzzzz-7fd4e-validworkfloyml
7   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
8   name: Valid workflow with name and desc
9   description: this workflow has a valid definition yaml
10   definition: "name: foo\ndesc: bar"
11   created_at: 2016-08-15 12:00:00
12
13 workflow_with_no_definition_yml:
14   uuid: zzzzz-7fd4e-validbutnoyml00
15   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
16   name: Valid workflow with no definition yaml
17   description: this workflow does not have a definition yaml
18   created_at: 2016-08-15 12:00:00
19
20 workflow_with_no_name_and_desc:
21   uuid: zzzzz-7fd4e-validnonamedesc
22   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
23   definition: this is valid yaml
24   created_at: 2016-08-15 12:00:01
25
26 workflow_with_input_specifications:
27   uuid: zzzzz-7fd4e-validwithinputs
28   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
29   name: Workflow with input specifications
30   description: this workflow has inputs specified
31   created_at: <%= 1.minute.ago.to_fs(:db) %>
32   definition: |
33     cwlVersion: v1.0
34     class: CommandLineTool
35     baseCommand:
36     - echo
37     inputs:
38     - doc: a longer documentation string for this parameter (optional)
39       type: boolean
40       id: ex_boolean
41       label: a short label for this parameter (optional)
42       inputBinding:
43         position: 1
44     - type:
45       - 'null'
46       - boolean
47       id: ex_boolean_opt
48       inputBinding:
49         position: 1
50     outputs: []
51
52 workflow_with_input_defaults:
53   uuid: zzzzz-7fd4e-validwithinput2
54   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
55   name: Workflow with default input specifications
56   description: this workflow has inputs specified
57   created_at: <%= 1.minute.ago.to_fs(:db) %>
58   definition: |
59     cwlVersion: v1.0
60     class: CommandLineTool
61     baseCommand:
62     - echo
63     inputs:
64     - type: string
65       id: ex_string
66     - type: string
67       id: ex_string_def
68       default: hello-testing-123
69     outputs: []
70
71 workflow_with_wrr:
72   uuid: zzzzz-7fd4e-validwithinput3
73   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
74   name: Workflow with WorkflowRunnerResources
75   description: this workflow has WorkflowRunnerResources
76   created_at: <%= 1.minute.ago.to_fs(:db) %>
77   definition: |
78     cwlVersion: v1.0
79     class: CommandLineTool
80     hints:
81       - class: http://arvados.org/cwl#WorkflowRunnerResources
82         acrContainerImage: arvados/jobs:2.0.4
83         ramMin: 1234
84         coresMin: 2
85         keep_cache: 678
86     baseCommand:
87     - echo
88     inputs:
89     - type: string
90       id: ex_string
91     - type: string
92       id: ex_string_def
93       default: hello-testing-123
94     outputs: []