Merge branch 'master' into 4015-collection-chooser-portable-data-hash
[arvados.git] / services / api / test / fixtures / pipeline_templates.yml
1 simple_pipeline:
2   uuid: zzzzz-p5p6p-hrfcwbrc62fj0kq
3   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
4   created_at: 2014-10-23 16:46:27 -0400
5   updated_at: 2014-10-23 16:46:27 -0400
6   modified_at: 2014-10-23 16:46:27 -0400
7   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
8   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
9   name: Pipeline Template With Collection Input
10   components:
11     foo_component:
12       script: foo
13       script_version: master
14       script_parameters:
15         input:
16           required: true
17           dataclass: Collection
18           title: "simple pipeline input"
19           description: "Collection input for simple pipeline"
20
21 two_part:
22   uuid: zzzzz-p5p6p-aox0k0ofxrystgw
23   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
24   created_at: 2014-04-14 12:35:04 -0400
25   updated_at: 2014-04-14 12:35:04 -0400
26   modified_at: 2014-04-14 12:35:04 -0400
27   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
28   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
29   name: Two Part Pipeline Template
30   components:
31     part-one:
32       script: foo
33       script_version: master
34       script_parameters:
35         input:
36           required: true
37           dataclass: Collection
38           title: "Foo/bar pair"
39           description: "Provide a collection containing at least two files."
40     part-two:
41       script: bar
42       script_version: master
43       script_parameters:
44         input:
45           output_of: part-one
46         integer_with_default:
47           default: 123
48         integer_with_value:
49           value: 123
50         string_with_default:
51           default: baz
52         string_with_value:
53           value: baz
54         plain_string: qux
55         array_with_default: # important to test repeating values in the array!
56           default: [1,1,2,3,5]
57         array_with_value: # important to test repeating values in the array!
58           value: [1,1,2,3,5]
59
60 components_is_jobspec:
61   # Helps test that clients cope with funny-shaped components.
62   # For an example, see #3321.
63   uuid: zzzzz-p5p6p-jobspeccomponts
64   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
65   created_at: 2014-04-14 12:35:04 -0400
66   updated_at: 2014-04-14 12:35:04 -0400
67   modified_at: 2014-04-14 12:35:04 -0400
68   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
69   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
70   name: Pipeline Template with Jobspec Components
71   components:
72     script: foo
73     script_version: master
74     script_parameters:
75       input:
76         required: true
77         dataclass: Collection
78         title: "Foo/bar pair"
79         description: "Provide a collection containing at least two files."
80
81 parameter_with_search:
82   uuid: zzzzz-p5p6p-paramwsearch345
83   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
84   created_at: 2014-04-14 12:35:04 -0400
85   updated_at: 2014-04-14 12:35:04 -0400
86   modified_at: 2014-04-14 12:35:04 -0400
87   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
88   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
89   name: Pipeline Template with Input Parameter with Search
90   components:
91     with-search:
92       script: foo
93       script_version: master
94       script_parameters:
95         input:
96           required: true
97           dataclass: Collection
98           title: "Foo/bar pair"
99           description: "Provide a collection containing at least two files."
100           search_for: sometime  # Matches baz_collection_in_asubproject
101
102 new_pipeline_template:
103   # This template must include components that are not
104   # present in the pipeline instance 'pipeline_with_newer_template',
105   # at least one of which has a script_parameter that is a hash
106   # with a 'dataclass' field (ticket #4000)
107   uuid: zzzzz-p5p6p-vq4wuvy84xvaq2r
108   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
109   created_at: 2014-09-14 12:00:00
110   modified_at: 2014-09-16 12:00:00
111   name: Pipeline Template Newer Than Instance
112   components:
113     foo:
114       script: foo
115       script_version: master
116       script_parameters:
117         input:
118           required: true
119           dataclass: Collection
120           title: foo template input
121     bar:
122       script: bar
123       script_version: master
124       script_parameters:
125         input:
126           required: true
127           dataclass: Collection
128           title: bar template input