bigrig 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +3 -1
- data/bigrig.gemspec +1 -0
- data/lib/bigrig/dependency_graph.rb +3 -1
- data/lib/bigrig/version.rb +1 -1
- data/spec/bigrig/dependency_graph_spec.rb +10 -4
- data/spec/bigrig_spec.rb +44 -34
- data/spec/data/scan.json +2 -1
- data/spec/spec_helper.rb +1 -13
- data/spec/support/wait_for.rb +35 -0
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_has_exited/should_remove_the_container.yml +46 -46
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_is_running/kills_and_removes_the_container.yml +49 -49
- data/spec/vcr/Bigrig_DockerAdapter/_build/builds_the_given_directory.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_build/passes_build_input_to_a_block.yml +4 -4
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_does_not_exist/is_false.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_exists/is_true.yml +9 -9
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_does_not_exist/raise_a_ImageNotFoundError.yml +12 -12
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_exists/returns_the_image_id.yml +12 -12
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_does_not_exist/should_raise_an_error.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_is_running/should_kill_the_container.yml +22 -22
- data/spec/vcr/Bigrig_DockerAdapter/_logs/streams_logs_to_a_block.yml +17 -17
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml +4 -4
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_does_not_exist/raises_a_RepoNotFoundError.yml +2 -2
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_exists/returns_the_image_id.yml +6 -6
- data/spec/vcr/Bigrig_DockerAdapter/_push/given_credentials/will_pass_login_and_password.yml +36 -36
- data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +453 -77
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_does_not_exist/raises_a_ContainerNotFoundError.yml +16 -16
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_exists/should_remove_the_container.yml +32 -32
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_is_running/raises_a_ContainerRunningError.yml +10 -10
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_doesnt_exist/raises_an_error.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_exists/removes_the_image.yml +28 -28
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name/starts_the_container_with_the_right_name.yml +27 -27
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name_and_env_variables/starts_the_container_with_env_set.yml +27 -27
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name_and_ports/starts_the_container_with_ports_exposed.yml +32 -32
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml +11 -11
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_running/returns_true.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_tag/should_tag_the_image.yml +16 -16
- data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +25 -25
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_a_path/builds_the_image_before_starting_it.yml +20 -20
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +40 -40
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_name/should_lookup_ips_for_hosts_with_a_hostname.yml +41 -41
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_links/should_pass_links_to_the_right_container.yml +73 -73
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/launches_both_containers_in_parallel.yml +52 -52
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/spins_up_multiple_containers.yml +74 -74
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/should_spin_up_a_single_container.yml +36 -36
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +38 -38
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes/should_pass_volumes_to_the_right_container.yml +40 -40
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/should_pass_volumes_from_to_the_right_container.yml +73 -73
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/starts_the_dependant_container_last.yml +52 -52
- data/spec/vcr/Bigrig_RunAction/_perform/when_activating_profiles_that_do_not_exist/ignores_the_missing_profile.yml +35 -35
- data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +38 -38
- data/spec/vcr/bigrig/destroy/spec/data/single_json/kills_the_container.yml +14 -14
- data/spec/vcr/bigrig/dev/spec/data/dev_json/activates_the_dev_profile.yml +427 -37
- data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +32 -32
- data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +472 -76
- data/spec/vcr/bigrig/dev/spec/data/dev_json/tails_the_logs.yml +16 -16
- data/spec/vcr/bigrig/dev/spec/data/scan_json/leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +1544 -86
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_dependant_containers_when_the_scanned_file_changes.yml +1725 -69
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_the_container_when_the_scanned_file_changes.yml +1536 -96
- data/spec/vcr/bigrig/logs/spec/data/log_json/tails_the_logs.yml +17 -17
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/leaves_existing_env_values_alone.yml +11 -11
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_env.yml +11 -11
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_tag.yml +11 -11
- data/spec/vcr/bigrig/run/spec/data/single_json/sends_the_name_of_the_container_to_stdout.yml +9 -9
- data/spec/vcr/bigrig/run/spec/data/single_json/starts_the_container.yml +13 -13
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/-c/cleans_the_image_when_its_done.yml +20 -20
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/builds_and_pushes_the_image.yml +15 -15
- data/spec/vcr/bigrig_bin_bigrig_destroy_spec/data/single_json_kills_the_container.yml +21 -21
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_activates_the_dev_profile.yml +105 -305
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +109 -307
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +116 -116
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +385 -382
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_dependant_containers_when_the_scanned_file_changes.yml +357 -354
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_the_container_when_the_scanned_file_changes.yml +358 -1091
- data/spec/vcr/bigrig_bin_bigrig_logs_spec/data/log_json_tails_the_logs.yml +21 -21
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_leaves_existing_env_values_alone.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +17 -17
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +24 -24
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +439 -63
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +430 -54
- data/spec/waitfor_spec.rb +10 -0
- metadata +18 -2
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:28:40 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: "{\"status\":\"Pulling repository hawknewton/true\"}\r\n{\"status\":\"Pulling
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
32
32
|
complete\",\"progressDetail\":{},\"id\":\"5fbce35eb337\"}{\"status\":\"Status:
|
33
33
|
Image is up to date for hawknewton/true:latest\"}\r\n"
|
34
34
|
http_version:
|
35
|
-
recorded_at: Mon,
|
35
|
+
recorded_at: Mon, 20 Apr 2015 23:28:42 GMT
|
36
36
|
- request:
|
37
37
|
method: get
|
38
38
|
uri: "<DOCKER_HOST>/v1.16/images/5fbce35eb337/json"
|
@@ -52,7 +52,7 @@ http_interactions:
|
|
52
52
|
Content-Type:
|
53
53
|
- application/json
|
54
54
|
Date:
|
55
|
-
- Mon,
|
55
|
+
- Mon, 20 Apr 2015 23:28:42 GMT
|
56
56
|
Content-Length:
|
57
57
|
- '1479'
|
58
58
|
body:
|
@@ -60,7 +60,7 @@ http_interactions:
|
|
60
60
|
string: |
|
61
61
|
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
62
62
|
http_version:
|
63
|
-
recorded_at: Mon,
|
63
|
+
recorded_at: Mon, 20 Apr 2015 23:28:42 GMT
|
64
64
|
- request:
|
65
65
|
method: get
|
66
66
|
uri: "<DOCKER_HOST>/v1.16/images/hawknewton/true:latest/json"
|
@@ -80,7 +80,7 @@ http_interactions:
|
|
80
80
|
Content-Type:
|
81
81
|
- application/json
|
82
82
|
Date:
|
83
|
-
- Mon,
|
83
|
+
- Mon, 20 Apr 2015 23:28:42 GMT
|
84
84
|
Content-Length:
|
85
85
|
- '1479'
|
86
86
|
body:
|
@@ -88,5 +88,5 @@ http_interactions:
|
|
88
88
|
string: |
|
89
89
|
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
90
90
|
http_version:
|
91
|
-
recorded_at: Mon,
|
91
|
+
recorded_at: Mon, 20 Apr 2015 23:28:42 GMT
|
92
92
|
recorded_with: VCR 2.9.3
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
- Mon,
|
22
|
+
- Mon, 20 Apr 2015 23:28:38 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: "{\"status\":\"Already exists\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Already
|
@@ -28,20 +28,20 @@ http_interactions:
|
|
28
28
|
exists\",\"progressDetail\":{},\"id\":\"9fec74352904\"}{\"status\":\"Already
|
29
29
|
exists\",\"progressDetail\":{},\"id\":\"d0955f21bf24\"}{\"status\":\"Already
|
30
30
|
exists\",\"progressDetail\":{},\"id\":\"6cfde7386ab2\"}{\"status\":\"Already
|
31
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
32
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
33
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
34
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
35
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
36
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
37
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
38
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
39
|
-
exists\",\"progressDetail\":{},\"id\":\"
|
31
|
+
exists\",\"progressDetail\":{},\"id\":\"9789d95d9fda\"}{\"status\":\"Already
|
32
|
+
exists\",\"progressDetail\":{},\"id\":\"19443e64f223\"}{\"status\":\"Already
|
33
|
+
exists\",\"progressDetail\":{},\"id\":\"b329371ab73c\"}{\"status\":\"Already
|
34
|
+
exists\",\"progressDetail\":{},\"id\":\"f0daee9a4e8f\"}{\"status\":\"Already
|
35
|
+
exists\",\"progressDetail\":{},\"id\":\"a66e50e56475\"}{\"status\":\"Already
|
36
|
+
exists\",\"progressDetail\":{},\"id\":\"8ab3d2988df5\"}{\"status\":\"Already
|
37
|
+
exists\",\"progressDetail\":{},\"id\":\"5f60fa7ea945\"}{\"status\":\"Already
|
38
|
+
exists\",\"progressDetail\":{},\"id\":\"db22a140c899\"}{\"status\":\"Already
|
39
|
+
exists\",\"progressDetail\":{},\"id\":\"5b2fff9306bd\"}{\"status\":\"The image
|
40
40
|
you are pulling has been verified. Important: image verification is a tech
|
41
41
|
preview feature and should not be relied on to provide security.\",\"id\":\"registry:latest\"}\r\n{\"status\":\"Status:
|
42
42
|
Image is up to date for registry:latest\"}\r\n"
|
43
43
|
http_version:
|
44
|
-
recorded_at: Mon,
|
44
|
+
recorded_at: Mon, 20 Apr 2015 23:28:37 GMT
|
45
45
|
- request:
|
46
46
|
method: post
|
47
47
|
uri: "<DOCKER_HOST>/v1.16/containers/create?name=registry"
|
@@ -61,18 +61,18 @@ http_interactions:
|
|
61
61
|
Content-Type:
|
62
62
|
- application/json
|
63
63
|
Date:
|
64
|
-
- Mon,
|
64
|
+
- Mon, 20 Apr 2015 23:28:38 GMT
|
65
65
|
Content-Length:
|
66
66
|
- '90'
|
67
67
|
body:
|
68
68
|
encoding: UTF-8
|
69
69
|
string: |
|
70
|
-
{"Id":"
|
70
|
+
{"Id":"55c036869a1c5fef614ee14d9d8e109163434eec841ace6bec9ef8987f499de8","Warnings":null}
|
71
71
|
http_version:
|
72
|
-
recorded_at: Mon,
|
72
|
+
recorded_at: Mon, 20 Apr 2015 23:28:38 GMT
|
73
73
|
- request:
|
74
74
|
method: post
|
75
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
75
|
+
uri: "<DOCKER_HOST>/v1.16/containers/55c036869a1c5fef614ee14d9d8e109163434eec841ace6bec9ef8987f499de8/start"
|
76
76
|
body:
|
77
77
|
encoding: UTF-8
|
78
78
|
string: "{}"
|
@@ -87,12 +87,12 @@ http_interactions:
|
|
87
87
|
message:
|
88
88
|
headers:
|
89
89
|
Date:
|
90
|
-
- Mon,
|
90
|
+
- Mon, 20 Apr 2015 23:28:38 GMT
|
91
91
|
body:
|
92
92
|
encoding: UTF-8
|
93
93
|
string: ''
|
94
94
|
http_version:
|
95
|
-
recorded_at: Mon,
|
95
|
+
recorded_at: Mon, 20 Apr 2015 23:28:38 GMT
|
96
96
|
- request:
|
97
97
|
method: post
|
98
98
|
uri: "<DOCKER_HOST>/v1.16/images/create?fromSrc=-"
|
@@ -114,15 +114,15 @@ http_interactions:
|
|
114
114
|
Content-Type:
|
115
115
|
- application/json
|
116
116
|
Date:
|
117
|
-
- Mon,
|
117
|
+
- Mon, 20 Apr 2015 23:28:38 GMT
|
118
118
|
body:
|
119
119
|
encoding: UTF-8
|
120
|
-
string: "{\"status\":\"
|
120
|
+
string: "{\"status\":\"69ccc101ecc53a44485b58c73ea7aa4e657152e65767720bff0a78a6889960a5\"}\r\n"
|
121
121
|
http_version:
|
122
|
-
recorded_at: Mon,
|
122
|
+
recorded_at: Mon, 20 Apr 2015 23:28:38 GMT
|
123
123
|
- request:
|
124
124
|
method: post
|
125
|
-
uri: "<DOCKER_HOST>/v1.16/images/
|
125
|
+
uri: "<DOCKER_HOST>/v1.16/images/69ccc101ecc53a44485b58c73ea7aa4e657152e65767720bff0a78a6889960a5/tag?repo=<ENCODED_REPO_URL>%2Ftest%2Fpush-me&tag=1.2.3"
|
126
126
|
body:
|
127
127
|
encoding: US-ASCII
|
128
128
|
string: ''
|
@@ -137,7 +137,7 @@ http_interactions:
|
|
137
137
|
message:
|
138
138
|
headers:
|
139
139
|
Date:
|
140
|
-
- Mon,
|
140
|
+
- Mon, 20 Apr 2015 23:28:38 GMT
|
141
141
|
Content-Length:
|
142
142
|
- '0'
|
143
143
|
Content-Type:
|
@@ -146,7 +146,7 @@ http_interactions:
|
|
146
146
|
encoding: UTF-8
|
147
147
|
string: ''
|
148
148
|
http_version:
|
149
|
-
recorded_at: Mon,
|
149
|
+
recorded_at: Mon, 20 Apr 2015 23:28:38 GMT
|
150
150
|
- request:
|
151
151
|
method: get
|
152
152
|
uri: "<DOCKER_HOST>/v1.16/images/<REPO_URL>/test/push-me:1.2.3/json"
|
@@ -166,18 +166,18 @@ http_interactions:
|
|
166
166
|
Content-Type:
|
167
167
|
- application/json
|
168
168
|
Date:
|
169
|
-
- Mon,
|
169
|
+
- Mon, 20 Apr 2015 23:28:39 GMT
|
170
170
|
Content-Length:
|
171
171
|
- '679'
|
172
172
|
body:
|
173
173
|
encoding: UTF-8
|
174
174
|
string: |
|
175
|
-
{"Architecture":"amd64","Author":"","Comment":"Imported from -","Config":null,"Container":"","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":null,"ExposedPorts":null,"Hostname":"","Image":"","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-
|
175
|
+
{"Architecture":"amd64","Author":"","Comment":"Imported from -","Config":null,"Container":"","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":null,"Env":null,"ExposedPorts":null,"Hostname":"","Image":"","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-04-20T23:28:38.753041099Z","DockerVersion":"1.5.0","Id":"69ccc101ecc53a44485b58c73ea7aa4e657152e65767720bff0a78a6889960a5","Os":"linux","Parent":"","Size":0,"VirtualSize":0}
|
176
176
|
http_version:
|
177
|
-
recorded_at: Mon,
|
177
|
+
recorded_at: Mon, 20 Apr 2015 23:28:39 GMT
|
178
178
|
- request:
|
179
179
|
method: post
|
180
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
180
|
+
uri: "<DOCKER_HOST>/v1.16/containers/55c036869a1c5fef614ee14d9d8e109163434eec841ace6bec9ef8987f499de8/kill"
|
181
181
|
body:
|
182
182
|
encoding: US-ASCII
|
183
183
|
string: ''
|
@@ -192,15 +192,15 @@ http_interactions:
|
|
192
192
|
message:
|
193
193
|
headers:
|
194
194
|
Date:
|
195
|
-
- Mon,
|
195
|
+
- Mon, 20 Apr 2015 23:28:40 GMT
|
196
196
|
body:
|
197
197
|
encoding: UTF-8
|
198
198
|
string: ''
|
199
199
|
http_version:
|
200
|
-
recorded_at: Mon,
|
200
|
+
recorded_at: Mon, 20 Apr 2015 23:28:39 GMT
|
201
201
|
- request:
|
202
202
|
method: delete
|
203
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
203
|
+
uri: "<DOCKER_HOST>/v1.16/containers/55c036869a1c5fef614ee14d9d8e109163434eec841ace6bec9ef8987f499de8"
|
204
204
|
body:
|
205
205
|
encoding: US-ASCII
|
206
206
|
string: ''
|
@@ -215,15 +215,15 @@ http_interactions:
|
|
215
215
|
message:
|
216
216
|
headers:
|
217
217
|
Date:
|
218
|
-
- Mon,
|
218
|
+
- Mon, 20 Apr 2015 23:28:40 GMT
|
219
219
|
body:
|
220
220
|
encoding: UTF-8
|
221
221
|
string: ''
|
222
222
|
http_version:
|
223
|
-
recorded_at: Mon,
|
223
|
+
recorded_at: Mon, 20 Apr 2015 23:28:40 GMT
|
224
224
|
- request:
|
225
225
|
method: delete
|
226
|
-
uri: "<DOCKER_HOST>/v1.16/images/
|
226
|
+
uri: "<DOCKER_HOST>/v1.16/images/69ccc101ecc53a44485b58c73ea7aa4e657152e65767720bff0a78a6889960a5?force=true"
|
227
227
|
body:
|
228
228
|
encoding: US-ASCII
|
229
229
|
string: ''
|
@@ -240,15 +240,15 @@ http_interactions:
|
|
240
240
|
Content-Type:
|
241
241
|
- application/json
|
242
242
|
Date:
|
243
|
-
- Mon,
|
243
|
+
- Mon, 20 Apr 2015 23:28:40 GMT
|
244
244
|
Content-Length:
|
245
245
|
- '136'
|
246
246
|
body:
|
247
247
|
encoding: UTF-8
|
248
248
|
string: |-
|
249
249
|
[{"Untagged":"<REPO_URL>/test/push-me:1.2.3"}
|
250
|
-
,{"Deleted":"
|
250
|
+
,{"Deleted":"69ccc101ecc53a44485b58c73ea7aa4e657152e65767720bff0a78a6889960a5"}
|
251
251
|
]
|
252
252
|
http_version:
|
253
|
-
recorded_at: Mon,
|
253
|
+
recorded_at: Mon, 20 Apr 2015 23:28:40 GMT
|
254
254
|
recorded_with: VCR 2.9.3
|