Merge branch 'master' into 9333-api-server-invalid-sql
[arvados.git] / services / api / test / fixtures / container_requests.yml
1 queued:
2   uuid: zzzzz-xvhdp-cr4queuedcontnr
3   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
4   name: queued
5   state: Committed
6   priority: 1
7   created_at: 2016-01-11 11:11:11.111111111 Z
8   updated_at: 2016-01-11 11:11:11.111111111 Z
9   modified_at: 2016-01-11 11:11:11.111111111 Z
10   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
11   container_image: test
12   cwd: test
13   output_path: test
14   command: ["echo", "hello"]
15   container_uuid: zzzzz-dz642-queuedcontainer
16   runtime_constraints:
17     vcpus: 1
18     ram: 123
19
20 running:
21   uuid: zzzzz-xvhdp-cr4runningcntnr
22   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
23   name: running
24   state: Committed
25   priority: 1
26   created_at: 2016-01-11 11:11:11.111111111 Z
27   updated_at: 2016-01-11 11:11:11.111111111 Z
28   modified_at: 2016-01-11 11:11:11.111111111 Z
29   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
30   container_image: test
31   cwd: test
32   output_path: test
33   command: ["echo", "hello"]
34   container_uuid: zzzzz-dz642-runningcontainr
35   runtime_constraints:
36     vcpus: 1
37     ram: 123
38
39 running-older:
40   uuid: zzzzz-xvhdp-cr4runningcntn2
41   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
42   name: running
43   state: Committed
44   priority: 1
45   created_at: 2016-01-11 11:11:11.111111111 Z
46   updated_at: 2016-01-11 11:11:11.111111111 Z
47   modified_at: 2016-01-12 11:11:11.111111111 Z
48   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
49   container_image: test
50   cwd: test
51   output_path: test
52   command: ["echo", "hello"]
53   container_uuid: zzzzz-dz642-runningcontain2
54   runtime_constraints:
55     vcpus: 1
56     ram: 123
57
58 completed:
59   uuid: zzzzz-xvhdp-cr4completedctr
60   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
61   name: completed container request
62   state: Final
63   priority: 1
64   created_at: <%= 2.minute.ago.to_s(:db) %>
65   updated_at: <%= 1.minute.ago.to_s(:db) %>
66   modified_at: <%= 1.minute.ago.to_s(:db) %>
67   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
68   container_image: test
69   cwd: test
70   output_path: test
71   command: ["echo", "hello"]
72   container_uuid: zzzzz-dz642-compltcontainer
73   runtime_constraints:
74     vcpus: 1
75     ram: 123
76
77 completed-older:
78   uuid: zzzzz-xvhdp-cr4completedcr2
79   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
80   name: completed
81   state: Final
82   priority: 1
83   created_at: 2016-01-11 11:11:11.111111111 Z
84   updated_at: 2016-01-11 11:11:11.111111111 Z
85   modified_at: 2016-01-11 11:11:11.111111111 Z
86   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
87   container_image: test
88   cwd: test
89   output_path: test
90   command: ["echo", "hello"]
91   container_uuid: zzzzz-dz642-compltcontainr2
92   runtime_constraints:
93     vcpus: 1
94     ram: 123
95
96 cr_for_requester:
97   uuid: zzzzz-xvhdp-cr4requestercnt
98   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
99   name: requester_cr
100   state: Final
101   priority: 1
102   created_at: 2016-01-11 11:11:11.111111111 Z
103   updated_at: 2016-01-11 11:11:11.111111111 Z
104   modified_at: 2016-01-11 11:11:11.111111111 Z
105   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
106   container_image: test
107   cwd: test
108   output_path: test
109   command: ["echo", "hello"]
110   container_uuid: zzzzz-dz642-requestercntnr1
111   requesting_container_uuid: zzzzz-dz642-requestingcntnr
112   runtime_constraints:
113     vcpus: 1
114     ram: 123
115
116 cr_for_requester2:
117   uuid: zzzzz-xvhdp-cr4requestercn2
118   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
119   name: requester_cr2
120   state: Final
121   priority: 1
122   created_at: 2016-01-11 11:11:11.111111111 Z
123   updated_at: 2016-01-11 11:11:11.111111111 Z
124   modified_at: 2016-01-11 11:11:11.111111111 Z
125   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
126   container_image: test
127   cwd: test
128   output_path: test
129   command: ["echo", "hello"]
130   requesting_container_uuid: zzzzz-dz642-requestercntnr1
131   runtime_constraints:
132     vcpus: 1
133     ram: 123
134
135 running_anonymous_accessible:
136   uuid: zzzzz-xvhdp-runninganonaccs
137   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
138   name: running anonymously accessible cr
139   state: Committed
140   priority: 1
141   created_at: 2016-01-11 11:11:11.111111111 Z
142   updated_at: 2016-01-11 11:11:11.111111111 Z
143   modified_at: 2016-01-11 11:11:11.111111111 Z
144   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
145   container_image: test
146   cwd: test
147   output_path: test
148   command: ["echo", "hello"]
149   container_uuid: zzzzz-dz642-runningcontain2
150   runtime_constraints:
151     vcpus: 1
152     ram: 123
153
154 # Test Helper trims the rest of the file
155
156 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper
157
158 # container requests in project_with_2_pipelines_and_60_crs
159 <% for i in 1..60 do %>
160 cr_<%=i%>_of_60:
161   uuid: zzzzz-xvhdp-oneof60crs<%= i.to_s.rjust(5, '0') %>
162   created_at: <%= ((i+5)/5).hour.ago.to_s(:db) %>
163   owner_uuid: zzzzz-j7d0g-nnncrspipelines
164   name: cr-<%= i.to_s %>
165   output_path: test
166   command: ["echo", "hello"]
167 <% end %>
168
169 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper