bigrig 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +24 -26
- data/bigrig.gemspec +2 -2
- data/lib/bigrig/models/container.rb +2 -2
- data/lib/bigrig/runner.rb +2 -10
- data/lib/bigrig/version.rb +1 -1
- data/lib/bigrig/waiter.rb +20 -0
- data/lib/bigrig.rb +1 -0
- data/spec/bigrig/actions/run_action_spec.rb +8 -0
- data/spec/bigrig/docker_adapter_spec.rb +1 -1
- data/spec/bigrig/models/container_spec.rb +0 -18
- data/spec/bigrig_spec.rb +20 -6
- data/spec/data/wait_for/Dockerfile +4 -0
- data/spec/data/wait_for/bigrig-wait.sh +5 -0
- data/spec/data/wait_for/bigrig.json +8 -0
- data/spec/data/wait_for_broken/Dockerfile +4 -0
- data/spec/data/wait_for_broken/bigrig-wait.sh +3 -0
- data/spec/data/wait_for_broken/bigrig.json +8 -0
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_has_exited/should_remove_the_container.yml +65 -65
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_is_running/kills_and_removes_the_container.yml +71 -71
- data/spec/vcr/Bigrig_DockerAdapter/_build/builds_the_given_directory.yml +11 -11
- data/spec/vcr/Bigrig_DockerAdapter/_build/passes_build_input_to_a_block.yml +5 -5
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_does_not_exist/is_false.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_exists/is_true.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_does_not_exist/raise_a_ImageNotFoundError.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_exists/returns_the_image_id.yml +19 -19
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_does_not_exist/should_raise_an_error.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_is_running/should_kill_the_container.yml +29 -29
- data/spec/vcr/Bigrig_DockerAdapter/_logs/streams_logs_to_a_block.yml +23 -23
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_does_not_exist/raises_a_RepoNotFoundError.yml +3 -3
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_exists/returns_the_image_id.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_push/given_credentials/will_pass_login_and_password.yml +54 -54
- data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +1059 -553
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_does_not_exist/raises_a_ContainerNotFoundError.yml +40 -40
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_exists/should_remove_the_container.yml +44 -44
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_is_running/raises_a_ContainerRunningError.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_doesnt_exist/raises_an_error.yml +12 -12
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_exists/removes_the_image.yml +35 -35
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name/starts_the_container_with_the_right_name.yml +35 -35
- 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 +35 -35
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name_and_ports/starts_the_container_with_ports_exposed.yml +41 -41
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml +13 -15
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_running/returns_true.yml +17 -17
- data/spec/vcr/Bigrig_DockerAdapter/_tag/should_tag_the_image.yml +34 -34
- data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +43 -43
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_a_path/builds_the_image_before_starting_it.yml +222 -26
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +180 -74
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_name/should_lookup_ips_for_hosts_with_a_hostname.yml +181 -75
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_links/should_pass_links_to_the_right_container.yml +351 -139
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/launches_both_containers_in_parallel.yml +130 -130
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/spins_up_multiple_containers.yml +140 -140
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/should_spin_up_a_single_container.yml +175 -69
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +159 -53
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes/should_pass_volumes_to_the_right_container.yml +180 -74
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/should_pass_volumes_from_to_the_right_container.yml +351 -139
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/starts_the_dependant_container_last.yml +130 -130
- data/spec/vcr/Bigrig_RunAction/_perform/when_activating_profiles_that_do_not_exist/ignores_the_missing_profile.yml +268 -77
- data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +180 -74
- data/spec/vcr/bigrig/destroy/spec/data/single_json/kills_the_container.yml +28 -28
- data/spec/vcr/bigrig/dev/spec/data/dev_json/activates_the_dev_profile.yml +266 -158
- data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +78 -158
- data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +187 -191
- data/spec/vcr/bigrig/dev/spec/data/dev_json/tails_the_logs.yml +38 -118
- data/spec/vcr/bigrig/dev/spec/data/scan_json/leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +811 -345
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_dependant_containers_when_the_scanned_file_changes.yml +813 -375
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_the_container_when_the_scanned_file_changes.yml +855 -363
- data/spec/vcr/bigrig/logs/spec/data/log_json/tails_the_logs.yml +23 -23
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/leaves_existing_env_values_alone.yml +14 -14
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_env.yml +14 -14
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_tag.yml +17 -17
- data/spec/vcr/bigrig/run/spec/data/single_json/sends_the_name_of_the_container_to_stdout.yml +12 -12
- data/spec/vcr/bigrig/run/spec/data/single_json/starts_the_container.yml +17 -17
- data/spec/vcr/bigrig/run/spec/data/wait_for/bigrig_json/waits_for_wait_for.yml +180 -0
- data/spec/vcr/bigrig/run/spec/data/wait_for_broken_json/fails_with_an_error.yml +12 -12
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/-c/cleans_the_image_when_its_done.yml +28 -28
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/builds_and_pushes_the_image.yml +21 -21
- data/spec/vcr/bigrig_bin_bigrig_destroy_spec/data/single_json_kills_the_container.yml +28 -28
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_activates_the_dev_profile.yml +135 -486
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +146 -472
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +402 -192
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +980 -396
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_dependant_containers_when_the_scanned_file_changes.yml +916 -388
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_the_container_when_the_scanned_file_changes.yml +919 -391
- data/spec/vcr/bigrig_bin_bigrig_logs_spec/data/log_json_tails_the_logs.yml +23 -23
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_leaves_existing_env_values_alone.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +286 -31
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for/bigrig_json_waits_for_wait_for.yml +522 -0
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for_broken_json_fails_with_an_error.yml +175 -80
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +1036 -526
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +1024 -514
- metadata +17 -12
- data/spec/data/wait_for.json +0 -9
- data/spec/data/wait_for_broken.json +0 -9
- data/spec/vcr/bigrig/run/spec/data/wait_for_json/waits_for_wait_for.yml +0 -180
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for_json_waits_for_wait_for.yml +0 -412
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.21.4
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 05 Jun 2015 23:24:57 GMT
|
23
23
|
body:
|
24
24
|
encoding: UTF-8
|
25
25
|
string: "{\"status\":\"Pulling repository hawknewton/show-env\"}\r\n{\"status\":\"Pulling
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
complete\",\"progressDetail\":{},\"id\":\"b9c5be3a918d\"}{\"status\":\"Status:
|
48
48
|
Image is up to date for hawknewton/show-env\"}\r\n"
|
49
49
|
http_version:
|
50
|
-
recorded_at:
|
50
|
+
recorded_at: Fri, 05 Jun 2015 23:24:59 GMT
|
51
51
|
- request:
|
52
52
|
method: post
|
53
53
|
uri: "<DOCKER_HOST>/v1.16/containers/create?name=single-test"
|
@@ -56,7 +56,7 @@ http_interactions:
|
|
56
56
|
string: '{"Image":"b9c5be3a918d"}'
|
57
57
|
headers:
|
58
58
|
User-Agent:
|
59
|
-
- Swipely/Docker-API 1.
|
59
|
+
- Swipely/Docker-API 1.21.4
|
60
60
|
Content-Type:
|
61
61
|
- application/json
|
62
62
|
response:
|
@@ -67,24 +67,24 @@ http_interactions:
|
|
67
67
|
Content-Type:
|
68
68
|
- application/json
|
69
69
|
Date:
|
70
|
-
-
|
70
|
+
- Fri, 05 Jun 2015 23:25:00 GMT
|
71
71
|
Content-Length:
|
72
72
|
- '90'
|
73
73
|
body:
|
74
74
|
encoding: UTF-8
|
75
75
|
string: |
|
76
|
-
{"Id":"
|
76
|
+
{"Id":"d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505","Warnings":null}
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Fri, 05 Jun 2015 23:25:00 GMT
|
79
79
|
- request:
|
80
80
|
method: post
|
81
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
81
|
+
uri: "<DOCKER_HOST>/v1.16/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/start"
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: "{}"
|
85
85
|
headers:
|
86
86
|
User-Agent:
|
87
|
-
- Swipely/Docker-API 1.
|
87
|
+
- Swipely/Docker-API 1.21.4
|
88
88
|
Content-Type:
|
89
89
|
- application/json
|
90
90
|
response:
|
@@ -93,21 +93,21 @@ http_interactions:
|
|
93
93
|
message:
|
94
94
|
headers:
|
95
95
|
Date:
|
96
|
-
-
|
96
|
+
- Fri, 05 Jun 2015 23:25:00 GMT
|
97
97
|
body:
|
98
98
|
encoding: UTF-8
|
99
99
|
string: ''
|
100
100
|
http_version:
|
101
|
-
recorded_at:
|
101
|
+
recorded_at: Fri, 05 Jun 2015 23:25:00 GMT
|
102
102
|
- request:
|
103
103
|
method: post
|
104
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
104
|
+
uri: "<DOCKER_HOST>/v1.16/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/kill"
|
105
105
|
body:
|
106
106
|
encoding: US-ASCII
|
107
107
|
string: ''
|
108
108
|
headers:
|
109
109
|
User-Agent:
|
110
|
-
- Swipely/Docker-API 1.
|
110
|
+
- Swipely/Docker-API 1.21.4
|
111
111
|
Content-Type:
|
112
112
|
- text/plain
|
113
113
|
response:
|
@@ -116,12 +116,12 @@ http_interactions:
|
|
116
116
|
message:
|
117
117
|
headers:
|
118
118
|
Date:
|
119
|
-
-
|
119
|
+
- Fri, 05 Jun 2015 23:25:00 GMT
|
120
120
|
body:
|
121
121
|
encoding: UTF-8
|
122
122
|
string: ''
|
123
123
|
http_version:
|
124
|
-
recorded_at:
|
124
|
+
recorded_at: Fri, 05 Jun 2015 23:25:00 GMT
|
125
125
|
- request:
|
126
126
|
method: get
|
127
127
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -130,7 +130,7 @@ http_interactions:
|
|
130
130
|
string: ''
|
131
131
|
headers:
|
132
132
|
User-Agent:
|
133
|
-
- Swipely/Docker-API 1.
|
133
|
+
- Swipely/Docker-API 1.21.4
|
134
134
|
Content-Type:
|
135
135
|
- text/plain
|
136
136
|
response:
|
@@ -141,13 +141,13 @@ http_interactions:
|
|
141
141
|
Content-Type:
|
142
142
|
- application/json
|
143
143
|
Date:
|
144
|
-
-
|
144
|
+
- Fri, 05 Jun 2015 23:25:00 GMT
|
145
145
|
body:
|
146
146
|
encoding: UTF-8
|
147
147
|
string: |
|
148
|
-
{"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":["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":"
|
148
|
+
{"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":["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":"d6d106cdc489","Image":"b9c5be3a918d","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-05T23:25:00.005423706Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/hosts","Id":"d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505-json.log","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":137,"FinishedAt":"2015-06-05T23:25:00.542433376Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-06-05T23:25:00.38517674Z"},"Volumes":{},"VolumesRW":{}}
|
149
149
|
http_version:
|
150
|
-
recorded_at:
|
150
|
+
recorded_at: Fri, 05 Jun 2015 23:25:00 GMT
|
151
151
|
- request:
|
152
152
|
method: get
|
153
153
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -156,7 +156,7 @@ http_interactions:
|
|
156
156
|
string: ''
|
157
157
|
headers:
|
158
158
|
User-Agent:
|
159
|
-
- Swipely/Docker-API 1.
|
159
|
+
- Swipely/Docker-API 1.21.4
|
160
160
|
Content-Type:
|
161
161
|
- text/plain
|
162
162
|
response:
|
@@ -167,13 +167,13 @@ http_interactions:
|
|
167
167
|
Content-Type:
|
168
168
|
- application/json
|
169
169
|
Date:
|
170
|
-
-
|
170
|
+
- Fri, 05 Jun 2015 23:25:00 GMT
|
171
171
|
body:
|
172
172
|
encoding: UTF-8
|
173
173
|
string: |
|
174
|
-
{"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":["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":"
|
174
|
+
{"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":["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":"d6d106cdc489","Image":"b9c5be3a918d","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-05T23:25:00.005423706Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/hosts","Id":"d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505-json.log","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":137,"FinishedAt":"2015-06-05T23:25:00.542433376Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-06-05T23:25:00.38517674Z"},"Volumes":{},"VolumesRW":{}}
|
175
175
|
http_version:
|
176
|
-
recorded_at:
|
176
|
+
recorded_at: Fri, 05 Jun 2015 23:25:00 GMT
|
177
177
|
- request:
|
178
178
|
method: get
|
179
179
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -182,7 +182,7 @@ http_interactions:
|
|
182
182
|
string: ''
|
183
183
|
headers:
|
184
184
|
User-Agent:
|
185
|
-
- Swipely/Docker-API 1.
|
185
|
+
- Swipely/Docker-API 1.21.4
|
186
186
|
Content-Type:
|
187
187
|
- text/plain
|
188
188
|
response:
|
@@ -193,13 +193,13 @@ http_interactions:
|
|
193
193
|
Content-Type:
|
194
194
|
- application/json
|
195
195
|
Date:
|
196
|
-
-
|
196
|
+
- Fri, 05 Jun 2015 23:25:00 GMT
|
197
197
|
body:
|
198
198
|
encoding: UTF-8
|
199
199
|
string: |
|
200
|
-
{"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":["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":"
|
200
|
+
{"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":["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":"d6d106cdc489","Image":"b9c5be3a918d","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-05T23:25:00.005423706Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/hosts","Id":"d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505-json.log","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":137,"FinishedAt":"2015-06-05T23:25:00.542433376Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-06-05T23:25:00.38517674Z"},"Volumes":{},"VolumesRW":{}}
|
201
201
|
http_version:
|
202
|
-
recorded_at:
|
202
|
+
recorded_at: Fri, 05 Jun 2015 23:25:00 GMT
|
203
203
|
- request:
|
204
204
|
method: get
|
205
205
|
uri: "<DOCKER_HOST>/v1.16/containers/single-test/json"
|
@@ -208,7 +208,7 @@ http_interactions:
|
|
208
208
|
string: ''
|
209
209
|
headers:
|
210
210
|
User-Agent:
|
211
|
-
- Swipely/Docker-API 1.
|
211
|
+
- Swipely/Docker-API 1.21.4
|
212
212
|
Content-Type:
|
213
213
|
- text/plain
|
214
214
|
response:
|
@@ -219,22 +219,22 @@ http_interactions:
|
|
219
219
|
Content-Type:
|
220
220
|
- application/json
|
221
221
|
Date:
|
222
|
-
-
|
222
|
+
- Fri, 05 Jun 2015 23:25:00 GMT
|
223
223
|
body:
|
224
224
|
encoding: UTF-8
|
225
225
|
string: |
|
226
|
-
{"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":["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":"
|
226
|
+
{"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":["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":"d6d106cdc489","Image":"b9c5be3a918d","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-05T23:25:00.005423706Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/hosts","Id":"d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505-json.log","MountLabel":"","Name":"/single-test","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":137,"FinishedAt":"2015-06-05T23:25:00.542433376Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"2015-06-05T23:25:00.38517674Z"},"Volumes":{},"VolumesRW":{}}
|
227
227
|
http_version:
|
228
|
-
recorded_at:
|
228
|
+
recorded_at: Fri, 05 Jun 2015 23:25:00 GMT
|
229
229
|
- request:
|
230
230
|
method: delete
|
231
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
231
|
+
uri: "<DOCKER_HOST>/v1.16/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505"
|
232
232
|
body:
|
233
233
|
encoding: US-ASCII
|
234
234
|
string: ''
|
235
235
|
headers:
|
236
236
|
User-Agent:
|
237
|
-
- Swipely/Docker-API 1.
|
237
|
+
- Swipely/Docker-API 1.21.4
|
238
238
|
Content-Type:
|
239
239
|
- text/plain
|
240
240
|
response:
|
@@ -243,21 +243,21 @@ http_interactions:
|
|
243
243
|
message:
|
244
244
|
headers:
|
245
245
|
Date:
|
246
|
-
-
|
246
|
+
- Fri, 05 Jun 2015 23:25:00 GMT
|
247
247
|
body:
|
248
248
|
encoding: UTF-8
|
249
249
|
string: ''
|
250
250
|
http_version:
|
251
|
-
recorded_at:
|
251
|
+
recorded_at: Fri, 05 Jun 2015 23:25:00 GMT
|
252
252
|
- request:
|
253
253
|
method: get
|
254
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
254
|
+
uri: "<DOCKER_HOST>/v1.16/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/json"
|
255
255
|
body:
|
256
256
|
encoding: US-ASCII
|
257
257
|
string: ''
|
258
258
|
headers:
|
259
259
|
User-Agent:
|
260
|
-
- Swipely/Docker-API 1.
|
260
|
+
- Swipely/Docker-API 1.21.4
|
261
261
|
Content-Type:
|
262
262
|
- text/plain
|
263
263
|
response:
|
@@ -268,24 +268,24 @@ http_interactions:
|
|
268
268
|
Content-Type:
|
269
269
|
- text/plain; charset=utf-8
|
270
270
|
Date:
|
271
|
-
-
|
271
|
+
- Fri, 05 Jun 2015 23:25:00 GMT
|
272
272
|
Content-Length:
|
273
|
-
- '
|
273
|
+
- '77'
|
274
274
|
body:
|
275
275
|
encoding: UTF-8
|
276
276
|
string: |
|
277
|
-
|
277
|
+
no such id: d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505
|
278
278
|
http_version:
|
279
|
-
recorded_at:
|
279
|
+
recorded_at: Fri, 05 Jun 2015 23:25:00 GMT
|
280
280
|
- request:
|
281
281
|
method: get
|
282
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
282
|
+
uri: "<DOCKER_HOST>/v1.16/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/json"
|
283
283
|
body:
|
284
284
|
encoding: US-ASCII
|
285
285
|
string: ''
|
286
286
|
headers:
|
287
287
|
User-Agent:
|
288
|
-
- Swipely/Docker-API 1.
|
288
|
+
- Swipely/Docker-API 1.21.4
|
289
289
|
Content-Type:
|
290
290
|
- text/plain
|
291
291
|
response:
|
@@ -296,24 +296,24 @@ http_interactions:
|
|
296
296
|
Content-Type:
|
297
297
|
- text/plain; charset=utf-8
|
298
298
|
Date:
|
299
|
-
-
|
299
|
+
- Fri, 05 Jun 2015 23:25:00 GMT
|
300
300
|
Content-Length:
|
301
|
-
- '
|
301
|
+
- '77'
|
302
302
|
body:
|
303
303
|
encoding: UTF-8
|
304
304
|
string: |
|
305
|
-
|
305
|
+
no such id: d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505
|
306
306
|
http_version:
|
307
|
-
recorded_at:
|
307
|
+
recorded_at: Fri, 05 Jun 2015 23:25:00 GMT
|
308
308
|
- request:
|
309
309
|
method: get
|
310
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
310
|
+
uri: "<DOCKER_HOST>/v1.16/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/json"
|
311
311
|
body:
|
312
312
|
encoding: US-ASCII
|
313
313
|
string: ''
|
314
314
|
headers:
|
315
315
|
User-Agent:
|
316
|
-
- Swipely/Docker-API 1.
|
316
|
+
- Swipely/Docker-API 1.21.4
|
317
317
|
Content-Type:
|
318
318
|
- text/plain
|
319
319
|
response:
|
@@ -324,24 +324,24 @@ http_interactions:
|
|
324
324
|
Content-Type:
|
325
325
|
- text/plain; charset=utf-8
|
326
326
|
Date:
|
327
|
-
-
|
327
|
+
- Fri, 05 Jun 2015 23:25:00 GMT
|
328
328
|
Content-Length:
|
329
|
-
- '
|
329
|
+
- '77'
|
330
330
|
body:
|
331
331
|
encoding: UTF-8
|
332
332
|
string: |
|
333
|
-
|
333
|
+
no such id: d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505
|
334
334
|
http_version:
|
335
|
-
recorded_at:
|
335
|
+
recorded_at: Fri, 05 Jun 2015 23:25:00 GMT
|
336
336
|
- request:
|
337
337
|
method: get
|
338
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
338
|
+
uri: "<DOCKER_HOST>/v1.16/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/json"
|
339
339
|
body:
|
340
340
|
encoding: US-ASCII
|
341
341
|
string: ''
|
342
342
|
headers:
|
343
343
|
User-Agent:
|
344
|
-
- Swipely/Docker-API 1.
|
344
|
+
- Swipely/Docker-API 1.21.4
|
345
345
|
Content-Type:
|
346
346
|
- text/plain
|
347
347
|
response:
|
@@ -352,24 +352,24 @@ http_interactions:
|
|
352
352
|
Content-Type:
|
353
353
|
- text/plain; charset=utf-8
|
354
354
|
Date:
|
355
|
-
-
|
355
|
+
- Fri, 05 Jun 2015 23:25:00 GMT
|
356
356
|
Content-Length:
|
357
|
-
- '
|
357
|
+
- '77'
|
358
358
|
body:
|
359
359
|
encoding: UTF-8
|
360
360
|
string: |
|
361
|
-
|
361
|
+
no such id: d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505
|
362
362
|
http_version:
|
363
|
-
recorded_at:
|
363
|
+
recorded_at: Fri, 05 Jun 2015 23:25:00 GMT
|
364
364
|
- request:
|
365
365
|
method: post
|
366
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
366
|
+
uri: "<DOCKER_HOST>/v1.16/containers/d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505/kill"
|
367
367
|
body:
|
368
368
|
encoding: US-ASCII
|
369
369
|
string: ''
|
370
370
|
headers:
|
371
371
|
User-Agent:
|
372
|
-
- Swipely/Docker-API 1.
|
372
|
+
- Swipely/Docker-API 1.21.4
|
373
373
|
Content-Type:
|
374
374
|
- text/plain
|
375
375
|
response:
|
@@ -380,13 +380,13 @@ http_interactions:
|
|
380
380
|
Content-Type:
|
381
381
|
- text/plain; charset=utf-8
|
382
382
|
Date:
|
383
|
-
-
|
383
|
+
- Fri, 05 Jun 2015 23:25:00 GMT
|
384
384
|
Content-Length:
|
385
|
-
- '
|
385
|
+
- '77'
|
386
386
|
body:
|
387
387
|
encoding: UTF-8
|
388
388
|
string: |
|
389
|
-
|
389
|
+
no such id: d6d106cdc489609c2ce2eb63a821b0660ed819e312cc336d0e53bacde9228505
|
390
390
|
http_version:
|
391
|
-
recorded_at:
|
391
|
+
recorded_at: Fri, 05 Jun 2015 23:25:00 GMT
|
392
392
|
recorded_with: VCR 2.9.3
|