bigrig 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/Gemfile.lock +5 -1
  4. data/README.md +1 -0
  5. data/bigrig.gemspec +1 -0
  6. data/lib/bigrig/actions/dev_action.rb +56 -1
  7. data/lib/bigrig/actions/log_action.rb +2 -33
  8. data/lib/bigrig/actions/run_action.rb +1 -1
  9. data/lib/bigrig/dependency_graph.rb +16 -2
  10. data/lib/bigrig/log_tailer.rb +56 -0
  11. data/lib/bigrig/models/container.rb +3 -2
  12. data/lib/bigrig/runner.rb +14 -12
  13. data/lib/bigrig/version.rb +1 -1
  14. data/lib/bigrig.rb +1 -0
  15. data/spec/bigrig/actions/dev_action_spec.rb +1 -1
  16. data/spec/bigrig/actions/log_action_spec.rb +5 -1
  17. data/spec/bigrig/dependency_graph_spec.rb +22 -1
  18. data/spec/bigrig/log_tailer_spec.rb +24 -0
  19. data/spec/bigrig/models/container_spec.rb +10 -1
  20. data/spec/bigrig_spec.rb +55 -4
  21. data/spec/data/scan.json +18 -0
  22. data/spec/spec_helper.rb +25 -0
  23. data/spec/support/vcr.rb +1 -0
  24. data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +129 -17
  25. data/spec/vcr/bigrig/dev/spec/data/dev_json/activates_the_dev_profile.yml +270 -18
  26. data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +362 -30
  27. data/spec/vcr/bigrig/dev/spec/data/scan_json/leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +527 -0
  28. data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_dependant_containers_when_the_scanned_file_changes.yml +501 -0
  29. data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_the_container_when_the_scanned_file_changes.yml +607 -0
  30. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_activates_the_dev_profile.yml +311 -113
  31. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +305 -107
  32. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +2127 -0
  33. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_dependant_containers_when_the_scanned_file_changes.yml +2127 -0
  34. data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_the_container_when_the_scanned_file_changes.yml +2863 -0
  35. metadata +25 -2
@@ -1,5 +1,117 @@
1
1
  ---
2
2
  http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: "<DOCKER_HOST>/v1.16/containers/log-test/json"
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Swipely/Docker-API 1.20.0
12
+ Content-Type:
13
+ - text/plain
14
+ response:
15
+ status:
16
+ code: 404
17
+ message:
18
+ headers:
19
+ Content-Type:
20
+ - text/plain; charset=utf-8
21
+ Date:
22
+ - Wed, 08 Apr 2015 21:24:23 GMT
23
+ Content-Length:
24
+ - '28'
25
+ body:
26
+ encoding: UTF-8
27
+ string: |
28
+ No such container: log-test
29
+ http_version:
30
+ recorded_at: Wed, 08 Apr 2015 21:24:22 GMT
31
+ - request:
32
+ method: get
33
+ uri: "<DOCKER_HOST>/v1.16/containers/log-test/json"
34
+ body:
35
+ encoding: US-ASCII
36
+ string: ''
37
+ headers:
38
+ User-Agent:
39
+ - Swipely/Docker-API 1.20.0
40
+ Content-Type:
41
+ - text/plain
42
+ response:
43
+ status:
44
+ code: 404
45
+ message:
46
+ headers:
47
+ Content-Type:
48
+ - text/plain; charset=utf-8
49
+ Date:
50
+ - Wed, 08 Apr 2015 21:24:23 GMT
51
+ Content-Length:
52
+ - '28'
53
+ body:
54
+ encoding: UTF-8
55
+ string: |
56
+ No such container: log-test
57
+ http_version:
58
+ recorded_at: Wed, 08 Apr 2015 21:24:22 GMT
59
+ - request:
60
+ method: get
61
+ uri: "<DOCKER_HOST>/v1.16/containers/log-test/json"
62
+ body:
63
+ encoding: US-ASCII
64
+ string: ''
65
+ headers:
66
+ User-Agent:
67
+ - Swipely/Docker-API 1.20.0
68
+ Content-Type:
69
+ - text/plain
70
+ response:
71
+ status:
72
+ code: 404
73
+ message:
74
+ headers:
75
+ Content-Type:
76
+ - text/plain; charset=utf-8
77
+ Date:
78
+ - Wed, 08 Apr 2015 21:24:23 GMT
79
+ Content-Length:
80
+ - '28'
81
+ body:
82
+ encoding: UTF-8
83
+ string: |
84
+ No such container: log-test
85
+ http_version:
86
+ recorded_at: Wed, 08 Apr 2015 21:24:22 GMT
87
+ - request:
88
+ method: get
89
+ uri: "<DOCKER_HOST>/v1.16/containers/log-test/json"
90
+ body:
91
+ encoding: US-ASCII
92
+ string: ''
93
+ headers:
94
+ User-Agent:
95
+ - Swipely/Docker-API 1.20.0
96
+ Content-Type:
97
+ - text/plain
98
+ response:
99
+ status:
100
+ code: 404
101
+ message:
102
+ headers:
103
+ Content-Type:
104
+ - text/plain; charset=utf-8
105
+ Date:
106
+ - Wed, 08 Apr 2015 21:24:23 GMT
107
+ Content-Length:
108
+ - '28'
109
+ body:
110
+ encoding: UTF-8
111
+ string: |
112
+ No such container: log-test
113
+ http_version:
114
+ recorded_at: Wed, 08 Apr 2015 21:24:22 GMT
3
115
  - request:
4
116
  method: post
5
117
  uri: "<DOCKER_HOST>/v1.16/images/create?fromImage=hawknewton%2Flog-test%3A0.0.1"
@@ -19,7 +131,7 @@ http_interactions:
19
131
  Content-Type:
20
132
  - application/json
21
133
  Date:
22
- - Mon, 06 Apr 2015 21:58:34 GMT
134
+ - Wed, 08 Apr 2015 21:24:23 GMT
23
135
  body:
24
136
  encoding: UTF-8
25
137
  string: "{\"status\":\"Pulling repository hawknewton/log-test\"}\r\n{\"status\":\"Pulling
@@ -36,7 +148,7 @@ http_interactions:
36
148
  complete\",\"progressDetail\":{},\"id\":\"bf0f8a45f956\"}{\"status\":\"Status:
37
149
  Image is up to date for hawknewton/log-test:0.0.1\"}\r\n"
38
150
  http_version:
39
- recorded_at: Mon, 06 Apr 2015 21:58:35 GMT
151
+ recorded_at: Wed, 08 Apr 2015 21:24:25 GMT
40
152
  - request:
41
153
  method: post
42
154
  uri: "<DOCKER_HOST>/v1.16/containers/create?name=log-test"
@@ -56,18 +168,18 @@ http_interactions:
56
168
  Content-Type:
57
169
  - application/json
58
170
  Date:
59
- - Mon, 06 Apr 2015 21:58:36 GMT
171
+ - Wed, 08 Apr 2015 21:24:26 GMT
60
172
  Content-Length:
61
173
  - '90'
62
174
  body:
63
175
  encoding: UTF-8
64
176
  string: |
65
- {"Id":"ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5","Warnings":null}
177
+ {"Id":"90bda73544157f522d34ed45a490de31470f9aced03c7721856cc6a8f3cd496f","Warnings":null}
66
178
  http_version:
67
- recorded_at: Mon, 06 Apr 2015 21:58:35 GMT
179
+ recorded_at: Wed, 08 Apr 2015 21:24:25 GMT
68
180
  - request:
69
181
  method: post
70
- uri: "<DOCKER_HOST>/v1.16/containers/ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5/start"
182
+ uri: "<DOCKER_HOST>/v1.16/containers/90bda73544157f522d34ed45a490de31470f9aced03c7721856cc6a8f3cd496f/start"
71
183
  body:
72
184
  encoding: UTF-8
73
185
  string: "{}"
@@ -82,12 +194,12 @@ http_interactions:
82
194
  message:
83
195
  headers:
84
196
  Date:
85
- - Mon, 06 Apr 2015 21:58:37 GMT
197
+ - Wed, 08 Apr 2015 21:24:26 GMT
86
198
  body:
87
199
  encoding: UTF-8
88
200
  string: ''
89
201
  http_version:
90
- recorded_at: Mon, 06 Apr 2015 21:58:35 GMT
202
+ recorded_at: Wed, 08 Apr 2015 21:24:25 GMT
91
203
  - request:
92
204
  method: get
93
205
  uri: "<DOCKER_HOST>/v1.16/containers/log-test/json"
@@ -107,16 +219,16 @@ http_interactions:
107
219
  Content-Type:
108
220
  - application/json
109
221
  Date:
110
- - Mon, 06 Apr 2015 21:58:37 GMT
222
+ - Wed, 08 Apr 2015 21:24:26 GMT
111
223
  body:
112
224
  encoding: UTF-8
113
225
  string: |
114
- {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/run.sh"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"ab1bfaf3666a","Image":"bf0f8a45f956","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-06T21:58:36.809888363Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5/hosts","Id":"ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5","Image":"bf0f8a45f956aa470ab3c916c83925fdcffce23d37b1a9e33998561ce54ca030","MountLabel":"","Name":"/log-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.202","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:1ca","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:ca","PortMapping":null,"Ports":{}},"Path":"/run.sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":7293,"Restarting":false,"Running":true,"StartedAt":"2015-04-06T21:58:37.17438085Z"},"Volumes":{},"VolumesRW":{}}
226
+ {"AppArmorProfile":"","Args":[],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/run.sh"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"90bda7354415","Image":"bf0f8a45f956","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-08T21:24:26.138290169Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/90bda73544157f522d34ed45a490de31470f9aced03c7721856cc6a8f3cd496f/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/90bda73544157f522d34ed45a490de31470f9aced03c7721856cc6a8f3cd496f/hosts","Id":"90bda73544157f522d34ed45a490de31470f9aced03c7721856cc6a8f3cd496f","Image":"bf0f8a45f956aa470ab3c916c83925fdcffce23d37b1a9e33998561ce54ca030","MountLabel":"","Name":"/log-test","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.45","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:12d","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:2d","PortMapping":null,"Ports":{}},"Path":"/run.sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/90bda73544157f522d34ed45a490de31470f9aced03c7721856cc6a8f3cd496f/resolv.conf","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":29968,"Restarting":false,"Running":true,"StartedAt":"2015-04-08T21:24:26.485839631Z"},"Volumes":{},"VolumesRW":{}}
115
227
  http_version:
116
- recorded_at: Mon, 06 Apr 2015 21:58:35 GMT
228
+ recorded_at: Wed, 08 Apr 2015 21:24:25 GMT
117
229
  - request:
118
230
  method: post
119
- uri: "<DOCKER_HOST>/v1.16/containers/ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5/kill"
231
+ uri: "<DOCKER_HOST>/v1.16/containers/90bda73544157f522d34ed45a490de31470f9aced03c7721856cc6a8f3cd496f/kill"
120
232
  body:
121
233
  encoding: US-ASCII
122
234
  string: ''
@@ -131,15 +243,15 @@ http_interactions:
131
243
  message:
132
244
  headers:
133
245
  Date:
134
- - Mon, 06 Apr 2015 21:58:37 GMT
246
+ - Wed, 08 Apr 2015 21:24:26 GMT
135
247
  body:
136
248
  encoding: UTF-8
137
249
  string: ''
138
250
  http_version:
139
- recorded_at: Mon, 06 Apr 2015 21:58:36 GMT
251
+ recorded_at: Wed, 08 Apr 2015 21:24:26 GMT
140
252
  - request:
141
253
  method: delete
142
- uri: "<DOCKER_HOST>/v1.16/containers/ab1bfaf3666a0ef1f304fffbce6e4e359f8793850839580fe34ddb7fc0ae2af5"
254
+ uri: "<DOCKER_HOST>/v1.16/containers/90bda73544157f522d34ed45a490de31470f9aced03c7721856cc6a8f3cd496f"
143
255
  body:
144
256
  encoding: US-ASCII
145
257
  string: ''
@@ -154,10 +266,10 @@ http_interactions:
154
266
  message:
155
267
  headers:
156
268
  Date:
157
- - Mon, 06 Apr 2015 21:58:37 GMT
269
+ - Wed, 08 Apr 2015 21:24:26 GMT
158
270
  body:
159
271
  encoding: UTF-8
160
272
  string: ''
161
273
  http_version:
162
- recorded_at: Mon, 06 Apr 2015 21:58:36 GMT
274
+ recorded_at: Wed, 08 Apr 2015 21:24:26 GMT
163
275
  recorded_with: VCR 2.9.3
@@ -19,7 +19,7 @@ http_interactions:
19
19
  Content-Type:
20
20
  - text/plain; charset=utf-8
21
21
  Date:
22
- - Mon, 06 Apr 2015 21:59:46 GMT
22
+ - Thu, 09 Apr 2015 19:01:34 GMT
23
23
  Content-Length:
24
24
  - '28'
25
25
  body:
@@ -27,7 +27,7 @@ http_interactions:
27
27
  string: |
28
28
  No such container: dev-test
29
29
  http_version:
30
- recorded_at: Mon, 06 Apr 2015 21:59:45 GMT
30
+ recorded_at: Thu, 09 Apr 2015 19:01:36 GMT
31
31
  - request:
32
32
  method: get
33
33
  uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
@@ -47,7 +47,7 @@ http_interactions:
47
47
  Content-Type:
48
48
  - text/plain; charset=utf-8
49
49
  Date:
50
- - Mon, 06 Apr 2015 21:59:46 GMT
50
+ - Thu, 09 Apr 2015 19:01:34 GMT
51
51
  Content-Length:
52
52
  - '28'
53
53
  body:
@@ -55,7 +55,7 @@ http_interactions:
55
55
  string: |
56
56
  No such container: dev-test
57
57
  http_version:
58
- recorded_at: Mon, 06 Apr 2015 21:59:45 GMT
58
+ recorded_at: Thu, 09 Apr 2015 19:01:36 GMT
59
59
  - request:
60
60
  method: get
61
61
  uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
@@ -75,7 +75,7 @@ http_interactions:
75
75
  Content-Type:
76
76
  - text/plain; charset=utf-8
77
77
  Date:
78
- - Mon, 06 Apr 2015 21:59:46 GMT
78
+ - Thu, 09 Apr 2015 19:01:34 GMT
79
79
  Content-Length:
80
80
  - '28'
81
81
  body:
@@ -83,7 +83,7 @@ http_interactions:
83
83
  string: |
84
84
  No such container: dev-test
85
85
  http_version:
86
- recorded_at: Mon, 06 Apr 2015 21:59:45 GMT
86
+ recorded_at: Thu, 09 Apr 2015 19:01:36 GMT
87
87
  - request:
88
88
  method: get
89
89
  uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
@@ -103,7 +103,7 @@ http_interactions:
103
103
  Content-Type:
104
104
  - text/plain; charset=utf-8
105
105
  Date:
106
- - Mon, 06 Apr 2015 21:59:46 GMT
106
+ - Thu, 09 Apr 2015 19:01:34 GMT
107
107
  Content-Length:
108
108
  - '28'
109
109
  body:
@@ -111,7 +111,7 @@ http_interactions:
111
111
  string: |
112
112
  No such container: dev-test
113
113
  http_version:
114
- recorded_at: Mon, 06 Apr 2015 21:59:45 GMT
114
+ recorded_at: Thu, 09 Apr 2015 19:01:36 GMT
115
115
  - request:
116
116
  method: get
117
117
  uri: "<DOCKER_HOST>/v1.16/containers/dev-logs/json"
@@ -131,7 +131,7 @@ http_interactions:
131
131
  Content-Type:
132
132
  - text/plain; charset=utf-8
133
133
  Date:
134
- - Mon, 06 Apr 2015 21:59:46 GMT
134
+ - Thu, 09 Apr 2015 19:01:34 GMT
135
135
  Content-Length:
136
136
  - '28'
137
137
  body:
@@ -139,7 +139,7 @@ http_interactions:
139
139
  string: |
140
140
  No such container: dev-logs
141
141
  http_version:
142
- recorded_at: Mon, 06 Apr 2015 21:59:45 GMT
142
+ recorded_at: Thu, 09 Apr 2015 19:01:36 GMT
143
143
  - request:
144
144
  method: get
145
145
  uri: "<DOCKER_HOST>/v1.16/containers/dev-logs/json"
@@ -159,7 +159,7 @@ http_interactions:
159
159
  Content-Type:
160
160
  - text/plain; charset=utf-8
161
161
  Date:
162
- - Mon, 06 Apr 2015 21:59:46 GMT
162
+ - Thu, 09 Apr 2015 19:01:34 GMT
163
163
  Content-Length:
164
164
  - '28'
165
165
  body:
@@ -167,7 +167,7 @@ http_interactions:
167
167
  string: |
168
168
  No such container: dev-logs
169
169
  http_version:
170
- recorded_at: Mon, 06 Apr 2015 21:59:45 GMT
170
+ recorded_at: Thu, 09 Apr 2015 19:01:36 GMT
171
171
  - request:
172
172
  method: get
173
173
  uri: "<DOCKER_HOST>/v1.16/containers/dev-logs/json"
@@ -187,7 +187,7 @@ http_interactions:
187
187
  Content-Type:
188
188
  - text/plain; charset=utf-8
189
189
  Date:
190
- - Mon, 06 Apr 2015 21:59:46 GMT
190
+ - Thu, 09 Apr 2015 19:01:34 GMT
191
191
  Content-Length:
192
192
  - '28'
193
193
  body:
@@ -195,7 +195,7 @@ http_interactions:
195
195
  string: |
196
196
  No such container: dev-logs
197
197
  http_version:
198
- recorded_at: Mon, 06 Apr 2015 21:59:45 GMT
198
+ recorded_at: Thu, 09 Apr 2015 19:01:36 GMT
199
199
  - request:
200
200
  method: get
201
201
  uri: "<DOCKER_HOST>/v1.16/containers/dev-logs/json"
@@ -215,7 +215,7 @@ http_interactions:
215
215
  Content-Type:
216
216
  - text/plain; charset=utf-8
217
217
  Date:
218
- - Mon, 06 Apr 2015 21:59:46 GMT
218
+ - Thu, 09 Apr 2015 19:01:34 GMT
219
219
  Content-Length:
220
220
  - '28'
221
221
  body:
@@ -223,7 +223,259 @@ http_interactions:
223
223
  string: |
224
224
  No such container: dev-logs
225
225
  http_version:
226
- recorded_at: Mon, 06 Apr 2015 21:59:45 GMT
226
+ recorded_at: Thu, 09 Apr 2015 19:01:36 GMT
227
+ - request:
228
+ method: get
229
+ uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
230
+ body:
231
+ encoding: US-ASCII
232
+ string: ''
233
+ headers:
234
+ User-Agent:
235
+ - Swipely/Docker-API 1.20.0
236
+ Content-Type:
237
+ - text/plain
238
+ response:
239
+ status:
240
+ code: 404
241
+ message:
242
+ headers:
243
+ Content-Type:
244
+ - text/plain; charset=utf-8
245
+ Date:
246
+ - Thu, 09 Apr 2015 19:01:34 GMT
247
+ Content-Length:
248
+ - '28'
249
+ body:
250
+ encoding: UTF-8
251
+ string: |
252
+ No such container: dev-test
253
+ http_version:
254
+ recorded_at: Thu, 09 Apr 2015 19:01:36 GMT
255
+ - request:
256
+ method: get
257
+ uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
258
+ body:
259
+ encoding: US-ASCII
260
+ string: ''
261
+ headers:
262
+ User-Agent:
263
+ - Swipely/Docker-API 1.20.0
264
+ Content-Type:
265
+ - text/plain
266
+ response:
267
+ status:
268
+ code: 404
269
+ message:
270
+ headers:
271
+ Content-Type:
272
+ - text/plain; charset=utf-8
273
+ Date:
274
+ - Thu, 09 Apr 2015 19:01:34 GMT
275
+ Content-Length:
276
+ - '28'
277
+ body:
278
+ encoding: UTF-8
279
+ string: |
280
+ No such container: dev-test
281
+ http_version:
282
+ recorded_at: Thu, 09 Apr 2015 19:01:36 GMT
283
+ - request:
284
+ method: get
285
+ uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
286
+ body:
287
+ encoding: US-ASCII
288
+ string: ''
289
+ headers:
290
+ User-Agent:
291
+ - Swipely/Docker-API 1.20.0
292
+ Content-Type:
293
+ - text/plain
294
+ response:
295
+ status:
296
+ code: 404
297
+ message:
298
+ headers:
299
+ Content-Type:
300
+ - text/plain; charset=utf-8
301
+ Date:
302
+ - Thu, 09 Apr 2015 19:01:34 GMT
303
+ Content-Length:
304
+ - '28'
305
+ body:
306
+ encoding: UTF-8
307
+ string: |
308
+ No such container: dev-test
309
+ http_version:
310
+ recorded_at: Thu, 09 Apr 2015 19:01:36 GMT
311
+ - request:
312
+ method: get
313
+ uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
314
+ body:
315
+ encoding: US-ASCII
316
+ string: ''
317
+ headers:
318
+ User-Agent:
319
+ - Swipely/Docker-API 1.20.0
320
+ Content-Type:
321
+ - text/plain
322
+ response:
323
+ status:
324
+ code: 404
325
+ message:
326
+ headers:
327
+ Content-Type:
328
+ - text/plain; charset=utf-8
329
+ Date:
330
+ - Thu, 09 Apr 2015 19:01:34 GMT
331
+ Content-Length:
332
+ - '28'
333
+ body:
334
+ encoding: UTF-8
335
+ string: |
336
+ No such container: dev-test
337
+ http_version:
338
+ recorded_at: Thu, 09 Apr 2015 19:01:37 GMT
339
+ - request:
340
+ method: get
341
+ uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
342
+ body:
343
+ encoding: US-ASCII
344
+ string: ''
345
+ headers:
346
+ User-Agent:
347
+ - Swipely/Docker-API 1.20.0
348
+ Content-Type:
349
+ - text/plain
350
+ response:
351
+ status:
352
+ code: 404
353
+ message:
354
+ headers:
355
+ Content-Type:
356
+ - text/plain; charset=utf-8
357
+ Date:
358
+ - Thu, 09 Apr 2015 19:01:34 GMT
359
+ Content-Length:
360
+ - '28'
361
+ body:
362
+ encoding: UTF-8
363
+ string: |
364
+ No such container: dev-test
365
+ http_version:
366
+ recorded_at: Thu, 09 Apr 2015 19:01:37 GMT
367
+ - request:
368
+ method: get
369
+ uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
370
+ body:
371
+ encoding: US-ASCII
372
+ string: ''
373
+ headers:
374
+ User-Agent:
375
+ - Swipely/Docker-API 1.20.0
376
+ Content-Type:
377
+ - text/plain
378
+ response:
379
+ status:
380
+ code: 404
381
+ message:
382
+ headers:
383
+ Content-Type:
384
+ - text/plain; charset=utf-8
385
+ Date:
386
+ - Thu, 09 Apr 2015 19:01:34 GMT
387
+ Content-Length:
388
+ - '28'
389
+ body:
390
+ encoding: UTF-8
391
+ string: |
392
+ No such container: dev-test
393
+ http_version:
394
+ recorded_at: Thu, 09 Apr 2015 19:01:37 GMT
395
+ - request:
396
+ method: get
397
+ uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
398
+ body:
399
+ encoding: US-ASCII
400
+ string: ''
401
+ headers:
402
+ User-Agent:
403
+ - Swipely/Docker-API 1.20.0
404
+ Content-Type:
405
+ - text/plain
406
+ response:
407
+ status:
408
+ code: 404
409
+ message:
410
+ headers:
411
+ Content-Type:
412
+ - text/plain; charset=utf-8
413
+ Date:
414
+ - Thu, 09 Apr 2015 19:01:35 GMT
415
+ Content-Length:
416
+ - '28'
417
+ body:
418
+ encoding: UTF-8
419
+ string: |
420
+ No such container: dev-test
421
+ http_version:
422
+ recorded_at: Thu, 09 Apr 2015 19:01:37 GMT
423
+ - request:
424
+ method: get
425
+ uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
426
+ body:
427
+ encoding: US-ASCII
428
+ string: ''
429
+ headers:
430
+ User-Agent:
431
+ - Swipely/Docker-API 1.20.0
432
+ Content-Type:
433
+ - text/plain
434
+ response:
435
+ status:
436
+ code: 404
437
+ message:
438
+ headers:
439
+ Content-Type:
440
+ - text/plain; charset=utf-8
441
+ Date:
442
+ - Thu, 09 Apr 2015 19:01:35 GMT
443
+ Content-Length:
444
+ - '28'
445
+ body:
446
+ encoding: UTF-8
447
+ string: |
448
+ No such container: dev-test
449
+ http_version:
450
+ recorded_at: Thu, 09 Apr 2015 19:01:37 GMT
451
+ - request:
452
+ method: get
453
+ uri: "<DOCKER_HOST>/v1.16/containers/dev-test/json"
454
+ body:
455
+ encoding: US-ASCII
456
+ string: ''
457
+ headers:
458
+ User-Agent:
459
+ - Swipely/Docker-API 1.20.0
460
+ Content-Type:
461
+ - text/plain
462
+ response:
463
+ status:
464
+ code: 200
465
+ message:
466
+ headers:
467
+ Content-Type:
468
+ - application/json
469
+ Date:
470
+ - Thu, 09 Apr 2015 19:01:35 GMT
471
+ Content-Length:
472
+ - '1998'
473
+ body:
474
+ encoding: UTF-8
475
+ string: |
476
+ {"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PROFILE=dev","PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"c6e6e663983e","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-09T19:01:35.595354943Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"ContainerIDFile":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LxcConf":null,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"VolumesFrom":null},"HostnamePath":"","HostsPath":"","Id":"c6e6e663983e9da77c292788bfd628ea94bebb5f8e2581c5b0407d7de527a6e3","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","MountLabel":"","Name":"/dev-test","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"","RestartCount":0,"State":{"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":null,"VolumesRW":null}
477
+ http_version:
478
+ recorded_at: Thu, 09 Apr 2015 19:01:38 GMT
227
479
  - request:
228
480
  method: get
229
481
  uri: "<TEST_URL>/"
@@ -250,12 +502,12 @@ http_interactions:
250
502
  BUNDLE_APP_CONFIG=/usr/local/bundle
251
503
  GEM_HOME=/usr/local/bundle
252
504
  HOME=/root
253
- HOSTNAME=828f606793da
505
+ HOSTNAME=c6e6e663983e
254
506
  PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
255
507
  PROFILE=dev
256
508
  PWD=/
257
509
  RUBY_MAJOR=2.1
258
510
  RUBY_VERSION=2.1.3
259
511
  http_version:
260
- recorded_at: Mon, 06 Apr 2015 21:59:48 GMT
512
+ recorded_at: Thu, 09 Apr 2015 19:01:40 GMT
261
513
  recorded_with: VCR 2.9.3