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 +4 -4
- data/lib/kitchen/driver/dokken.rb +9 -5
- data/lib/kitchen/driver/dokken_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b94927d0fdf403e0ef7a8d29c822c1bc40e665e5
|
4
|
+
data.tar.gz: 1b677d8ddefd5a5f00e68d3cc23ceac0481861f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 {
|
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
|