kitchen-docker_cli 0.15.0 → 0.15.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 269cdc729259a150aabef82e1130c4f34b13696d
4
- data.tar.gz: df9fc2594c21b0ac3deb39edf64fc8c776be291b
3
+ metadata.gz: 6defa165a7c612346eaad601d37264298d86862d
4
+ data.tar.gz: b9a39bbdc29c976d04c25d8942de68f4648c0018
5
5
  SHA512:
6
- metadata.gz: ce42a96a832da5482c73175da995aee0337b1124ed063d10b3dc967379e5fddef5d749a51e86c9ea47e04c12b9fb521558d1d3bf88c3cdcfe73799db5ce70161
7
- data.tar.gz: 9169f49be1e7593484c5f2db6c1fbac998737d5897b98b6d5618b898253ae7da2a4425a2109103f54847325f89874f4dcbf7472e9b694f85ea73f19dcc9a973e
6
+ metadata.gz: 87e392d0a452cee0e742e0541d4e2201160772a7870ccf516dbfc7d54fe451238776fa9f256a46c9b006289f22742e042be0cc021c0ad2d285e3f2350f890997
7
+ data.tar.gz: 8f7790ae15cbc31fba83d18f36f17e88e109e1bf2ab4e5162decc5d93b7feb095e03224a8723ee66c7e3dc7f6aeaf3035c1444b53e8c0285e460498b4cce26e6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
+ ## 0.15.1
2
+
3
+ * Pull request [#30][]: Fix [#29][]: use docker cp to upload files ([@s-bernard][])
4
+
1
5
  ## 0.15.0
2
6
 
3
- - Add `skip_preparation` option
7
+ * Add `skip_preparation` option
4
8
 
5
9
  ## 0.14.2
6
10
 
@@ -114,8 +118,11 @@
114
118
  [#18]: https://github.com/marcy-terui/kitchen-docker_cli/issues/18
115
119
  [#21]: https://github.com/marcy-terui/kitchen-docker_cli/issues/21
116
120
  [#23]: https://github.com/marcy-terui/kitchen-docker_cli/issues/23
121
+ [#29]: https://github.com/marcy-terui/kitchen-docker_cli/issues/29
122
+ [#30]: https://github.com/marcy-terui/kitchen-docker_cli/issues/30
117
123
  [@grubernaut]: https://github.com/grubernaut
118
124
  [@hd-deman]: https://github.com/hd-deman
119
125
  [@nrvale0]: https://github.com/nrvale0
126
+ [@s-bernard]: https://github.com/s-bernard
120
127
  [@sawanoboly]: https://github.com/sawanoboly
121
- [@yewton]: https://github.com/yewton
128
+ [@yewton]: https://github.com/yewton
data/README.md CHANGED
@@ -12,8 +12,8 @@ We can test on the environment that has no extra software such as `sshd`.
12
12
 
13
13
  - Test-Kitchen (>= 1.3)
14
14
 
15
- - Docker (>= 1.3)
16
- This driver uses `docker exec` command.
15
+ - Docker (>= 1.8)
16
+ This driver uses `docker exec` and `docker cp` to upload some files to the containers.
17
17
 
18
18
  - tar (GNU Tar)
19
19
 
@@ -21,6 +21,6 @@ module Kitchen
21
21
  module Driver
22
22
 
23
23
  # Version string for DockerCli Kitchen driver
24
- DOCKER_CLI_VERSION = '0.15.0'
24
+ DOCKER_CLI_VERSION = '0.15.1'
25
25
  end
26
26
  end
@@ -94,7 +94,7 @@ module Kitchen
94
94
  if @options[:lxc_driver]
95
95
  remote_cmd = "#{lxc_attach_base} #{lxc_exec_command(@options[:container_id], remote_cmd)}"
96
96
  else
97
- remote_cmd = "#{docker_base} #{docker_exec_command(@options[:container_id], remote_cmd, :interactive => true)}"
97
+ remote_cmd = "#{docker_base} cp - #{@options[:container_id]}:#{remote}"
98
98
  end
99
99
  local_cmd = "cd #{File.dirname(local)} && tar cf - ./#{File.basename(local)}"
100
100
  run_command("#{local_cmd} | #{remote_cmd}")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-docker_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masashi Terui
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-16 00:00:00.000000000 Z
11
+ date: 2016-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen