X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8ad6b6ec418f83baf6906a1fd99bc1aeb9c110b7..4aaa1f6aeae33dc353ea3a70f901065b4f694fed:/services/api/test/fixtures/pipeline_instances.yml?ds=sidebyside diff --git a/services/api/test/fixtures/pipeline_instances.yml b/services/api/test/fixtures/pipeline_instances.yml index d71585f94a..ff7864d283 100644 --- a/services/api/test/fixtures/pipeline_instances.yml +++ b/services/api/test/fixtures/pipeline_instances.yml @@ -42,6 +42,8 @@ has_component_with_completed_jobs: state: Complete uuid: zzzzz-d1hrv-i3e77t9z5y8j9cc owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + started_at: <%= 10.minute.ago.to_s(:db) %> + finished_at: <%= 9.minute.ago.to_s(:db) %> components: foo: script: foo @@ -256,7 +258,7 @@ pipeline_in_publicly_accessible_project: name: Pipeline in publicly accessible project pipeline_template_uuid: zzzzz-p5p6p-tmpltpublicproj state: Complete - created_at: 2014-09-15 12:00:00 + created_at: <%= 1.minute.ago.to_s(:db) %> components: foo: script: foo @@ -268,7 +270,11 @@ pipeline_in_publicly_accessible_project: title: foo instance input job: uuid: zzzzz-8i9sb-jyq01m7in1jlofj + repository: active/foo + script: foo script_version: master + script_parameters: + input: zzzzz-4zz18-4en62shvi99lxd4 log: zzzzz-4zz18-4en62shvi99lxd4 output: b519d9cb706a29fc7ea24dbea2f05851+93 state: Complete @@ -291,14 +297,68 @@ pipeline_in_publicly_accessible_project_but_other_objects_elsewhere: title: foo instance input job: uuid: zzzzz-8i9sb-aceg2bnq7jt7kon + repository: active/foo + script: foo script_version: master + script_parameters: + input: zzzzz-4zz18-bv31uwvy3neko21 log: zzzzz-4zz18-bv31uwvy3neko21 output: zzzzz-4zz18-bv31uwvy3neko21 state: Complete +new_pipeline_in_publicly_accessible_project: + uuid: zzzzz-d1hrv-newpisharedobjs + owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0 + name: Pipeline in New state in publicly accessible project + pipeline_template_uuid: zzzzz-p5p6p-tmpltpublicproj + state: New + created_at: 2014-09-15 12:00:00 + components: + foo: + script: foo + script_version: master + script_parameters: + input: + required: true + dataclass: Collection + value: b519d9cb706a29fc7ea24dbea2f05851+93 + +new_pipeline_in_publicly_accessible_project_but_other_objects_elsewhere: + uuid: zzzzz-d1hrv-newsharenotobjs + owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0 + name: Pipeline in New state in public project with objects elsewhere + pipeline_template_uuid: zzzzz-p5p6p-aox0k0ofxrystgw + state: New + created_at: 2014-09-15 12:00:00 + components: + foo: + script: foo + script_version: master + script_parameters: + input: + required: true + dataclass: Collection + value: zzzzz-4zz18-bv31uwvy3neko21 + +new_pipeline_in_publicly_accessible_project_with_dataclass_file_and_other_objects_elsewhere: + uuid: zzzzz-d1hrv-newsharenotfile + owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0 + name: Pipeline in public project in New state with file type data class with objects elsewhere + pipeline_template_uuid: zzzzz-p5p6p-aox0k0ofxrystgw + state: New + created_at: 2014-09-15 12:00:00 + components: + foo: + script: foo + script_version: master + script_parameters: + input: + required: true + dataclass: File + value: zzzzz-4zz18-bv31uwvy3neko21/bar + pipeline_in_running_state: name: running_with_job - state: Ready uuid: zzzzz-d1hrv-runningpipeline owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: <%= 3.1.minute.ago.to_s(:db) %> @@ -313,6 +373,49 @@ pipeline_in_running_state: uuid: zzzzz-8i9sb-pshmckwoma9plh7 script_version: master +running_pipeline_with_complete_job: + uuid: zzzzz-d1hrv-partdonepipelin + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + state: RunningOnServer + components: + previous: + job: + uuid: zzzzz-8i9sb-cjs4pklxxjykqqq + log: zzzzz-4zz18-op4e2lbej01tcvu + running: + job: + uuid: zzzzz-8i9sb-pshmckwoma9plh7 + +complete_pipeline_with_two_jobs: + uuid: zzzzz-d1hrv-twodonepipeline + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + state: Complete + started_at: <%= 10.minute.ago.to_s(:db) %> + finished_at: <%= 9.minute.ago.to_s(:db) %> + components: + ancient: + job: + uuid: zzzzz-8i9sb-ahd7cie8jah9qui + log: zzzzz-4zz18-op4e2lbej01tcvu + previous: + job: + uuid: zzzzz-8i9sb-cjs4pklxxjykqqq + log: zzzzz-4zz18-op4e2lbej01tcvu + +failed_pipeline_with_two_jobs: + uuid: zzzzz-d1hrv-twofailpipeline + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + state: Failed + components: + ancient: + job: + uuid: zzzzz-8i9sb-ahd7cie8jah9qui + log: zzzzz-4zz18-op4e2lbej01tcvu + previous: + job: + uuid: zzzzz-8i9sb-cjs4pklxxjykqqq + log: zzzzz-4zz18-op4e2lbej01tcvu + # 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