X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fe5ee2e37364330b4a58c0c41e8a0b627e8cb1f2..b6ca3da4f529dc300f750891022847b071813e57:/services/api/test/fixtures/pipeline_instances.yml?ds=inline diff --git a/services/api/test/fixtures/pipeline_instances.yml b/services/api/test/fixtures/pipeline_instances.yml index e8e7e5d239..69e1f7d5ff 100644 --- a/services/api/test/fixtures/pipeline_instances.yml +++ b/services/api/test/fixtures/pipeline_instances.yml @@ -150,6 +150,88 @@ pipeline_with_newer_template: dataclass: Collection title: foo instance input +pipeline_instance_owned_by_fuse: + state: Complete + uuid: zzzzz-d1hrv-ri9dvgkgqs9y09j + owner_uuid: zzzzz-tpzed-0fusedrivertest + pipeline_template_uuid: zzzzz-p5p6p-vq4wuvy84xvaq2r + created_at: 2014-09-15 12:00:00 + name: "pipeline instance owned by FUSE" + components: + foo: + script: foo + script_version: master + script_parameters: + input: + required: true + dataclass: Collection + title: foo instance input + +pipeline_instance_in_fuse_project: + state: Complete + uuid: zzzzz-d1hrv-scarxiyajtshq3l + owner_uuid: zzzzz-j7d0g-0000ownedbyfuse + pipeline_template_uuid: zzzzz-p5p6p-vq4wuvy84xvaq2r + created_at: 2014-09-15 12:00:00 + name: "pipeline instance in FUSE project" + components: + foo: + script: foo + script_version: master + script_parameters: + input: + required: true + dataclass: Collection + title: foo instance input + +pipeline_owned_by_active_in_aproject: + name: Completed pipeline in A Project + state: Complete + uuid: zzzzz-d1hrv-ju5ghi0i9z2kqc6 + owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso + created_at: 2014-09-15 12:00:00 + components: + foo: + script: foo + script_version: master + script_parameters: + input: + required: true + dataclass: Collection + title: foo instance input + +pipeline_owned_by_active_in_home: + name: Completed pipeline in active user home + state: Complete + uuid: zzzzz-d1hrv-lihrbd0i9z2kqc6 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-09-15 12:00:00 + components: + foo: + script: foo + script_version: master + script_parameters: + input: + required: true + dataclass: Collection + title: foo instance input + +pipeline_in_publicly_accessible_project: + uuid: zzzzz-d1hrv-n68vc490mloy4fi + owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0 + name: Pipeline in publicly accessible project + state: Complete + created_at: 2014-09-15 12:00:00 + components: + foo: + script: foo + script_version: master + script_parameters: + input: + required: true + dataclass: Collection + title: foo instance input + # Test Helper trims the rest of the file # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper @@ -158,10 +240,12 @@ pipeline_with_newer_template: <% for i in 1..10 do %> pipeline_<%=i%>_of_10: name: pipeline_<%= i %> - state: New - uuid: zzzzz-d1hrv-10gneyn6br1x<%= i.to_s.rjust(3, '0') %> + state: Failed + uuid: zzzzz-d1hrv-10pipelines0<%= i.to_s.rjust(3, '0') %> owner_uuid: zzzzz-j7d0g-000010pipelines - created_at: <%= i.minute.ago.to_s(:db) %> + created_at: <%= (2*(i-1)).hour.ago.to_s(:db) %> + started_at: <%= (2*(i-1)).hour.ago.to_s(:db) %> + finished_at: <%= (i-1).minute.ago.to_s(:db) %> components: foo: script: foo @@ -173,9 +257,9 @@ pipeline_<%=i%>_of_10: title: foo instance input <% end %> -# pipelines in project_with_10_pipelines_and_200_jobs +# pipelines in project_with_2_pipelines_and_100_jobs <% for i in 1..2 do %> -pipeline_<%=i%>_of_10_pipelines_and_200_jobs: +pipeline_<%=i%>_of_2_pipelines_and_100_jobs: name: pipeline_<%= i %> state: New uuid: zzzzz-d1hrv-abcgneyn6brx<%= i.to_s.rjust(3, '0') %> @@ -196,10 +280,12 @@ pipeline_<%=i%>_of_10_pipelines_and_200_jobs: <% for i in 1..25 do %> pipeline_<%=i%>_of_25: name: pipeline_<%=i%> - state: New - uuid: zzzzz-d1hrv-25xneyn6br1x<%= i.to_s.rjust(3, '0') %> + state: Failed + uuid: zzzzz-d1hrv-25pipelines0<%= i.to_s.rjust(3, '0') %> owner_uuid: zzzzz-j7d0g-000025pipelines - created_at: <%= i.minute.ago.to_s(:db) %> + created_at: <%= i.hour.ago.to_s(:db) %> + started_at: <%= i.hour.ago.to_s(:db) %> + finished_at: <%= i.minute.ago.to_s(:db) %> components: foo: script: foo