kitchen-dokken 0.0.28 → 0.0.29

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: 99da40999040aa2cf37e0c1f80f9a27a51cfb2a7
4
- data.tar.gz: c7f17165bae8b9bca15508665816ee6f97c8ca10
3
+ metadata.gz: b94927d0fdf403e0ef7a8d29c822c1bc40e665e5
4
+ data.tar.gz: 1b677d8ddefd5a5f00e68d3cc23ceac0481861f3
5
5
  SHA512:
6
- metadata.gz: 3cc088ea6ea9eaf81a01f4d3857406453412e65ef11840f3691921721f3971803f44b0a7bd6f6c1672796befa411911da439da6c481a5f6fd73a6018829ec8a9
7
- data.tar.gz: 65ede78f9aa2bbaf952806438b172bc8100ea458665e152dbb4d5ffdd4387971553cd92c9bd657e5a06fee2d94a08270e68a928f90c1bfdd57887fd0e1edfca9
6
+ metadata.gz: af2a29c3d364fa2f381b9e7939fb5ae1fcfc0f1f2e02e6dd2fdb1768545c3db79e1d86c879f57ef4efb7e92abf6b401d0cbfb7748356b302a8e1815d677c6c24
7
+ data.tar.gz: ae7cb20ca402a128fdce3f1b37662b8339bc5b6d2a3f5de23418ec4759fa985b385f95e42481a608144f0e2bcc6bfc65009300d417aa316a7a10be428ceccc91
@@ -92,6 +92,8 @@ module Kitchen
92
92
  end
93
93
 
94
94
  def build_work_image(state)
95
+ # require 'pry' ; binding.pry
96
+
95
97
  return if Docker::Image.exist?(work_image, docker_connection)
96
98
 
97
99
  FileUtils.mkdir_p context_root
@@ -102,9 +104,9 @@ module Kitchen
102
104
  @intermediate_image = Docker::Image.build_from_dir(
103
105
  context_root,
104
106
  {
105
- 'nocache' => true,
106
- 'forcerm' => true,
107
- 'q' => true,
107
+ # 'nocache' => true,
108
+ # 'forcerm' => true,
109
+ # 'q' => true,
108
110
  't' => work_image
109
111
  },
110
112
  docker_connection
@@ -347,8 +349,10 @@ module Kitchen
347
349
  pull_image image
348
350
  end
349
351
 
350
- def pull_image(image)
351
- with_retries { Docker::Image.create({ 'fromImage' => repo(image), 'tag' => tag(image) }, docker_connection) }
352
+ def pull_image(image)
353
+ with_retries {
354
+ Docker::Image.create({ 'fromImage' => "#{repo(image)}:#{tag(image)}" }, docker_connection)
355
+ }
352
356
  end
353
357
 
354
358
  def runner_container_name
@@ -19,6 +19,6 @@
19
19
  module Kitchen
20
20
  module Driver
21
21
  # Version string for Dokken Kitchen driver
22
- DOKKEN_VERSION = '0.0.28'
22
+ DOKKEN_VERSION = '0.0.29'
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-dokken
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.28
4
+ version: 0.0.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean OMeara