kitchen-dokken 2.9.0 → 2.9.1
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_version.rb +1 -1
- data/lib/kitchen/provisioner/dokken.rb +8 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cf6fdff38752942d8eb2ec416874255a581ce4d2e7607aa0aa10eccbe5c7c1e
|
4
|
+
data.tar.gz: 5389972a3d453448c9206995302a76b6880ddfd39919cfd4f35661db83feb8f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c49b83d7bd26b2bd0e9feac76c6e36d70938ccb9e6e5a032c8fdb86ce2e28fae6f7fcee1687963035bbee34fd92ac92e9014ed08af7f7b12e812cf13af8eecb
|
7
|
+
data.tar.gz: 1983818b9795b4af4294e585f58a0fd88ff048a8d2ca3ca28a39c279a063ba298526d9275258ec8ab9b8af38c8953b2dd468e7faa674fcf8de47add995a04b8a
|
@@ -55,6 +55,7 @@ module Kitchen
|
|
55
55
|
# (see Base#call)
|
56
56
|
def call(state)
|
57
57
|
create_sandbox
|
58
|
+
write_run_command(run_command)
|
58
59
|
instance.transport.connection(state) do |conn|
|
59
60
|
if remote_docker_host?
|
60
61
|
info("Transferring files to #{instance.to_str}")
|
@@ -63,7 +64,7 @@ module Kitchen
|
|
63
64
|
|
64
65
|
conn.execute(prepare_command)
|
65
66
|
conn.execute_with_retry(
|
66
|
-
run_command,
|
67
|
+
"sh #{config[:root_path]}/run_command",
|
67
68
|
config[:retry_on_exit_code],
|
68
69
|
config[:max_retries],
|
69
70
|
config[:wait_for_retry]
|
@@ -105,6 +106,12 @@ module Kitchen
|
|
105
106
|
cmd << " -F #{config[:chef_output_format]}"
|
106
107
|
cmd << ' -c /opt/kitchen/client.rb'
|
107
108
|
cmd << ' -j /opt/kitchen/dna.json'
|
109
|
+
|
110
|
+
chef_cmd(cmd)
|
111
|
+
end
|
112
|
+
|
113
|
+
def write_run_command(command)
|
114
|
+
File.write("#{dokken_kitchen_sandbox}/run_command", command)
|
108
115
|
end
|
109
116
|
|
110
117
|
def runner_container_name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-dokken
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean OMeara
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docker-api
|
@@ -75,7 +75,7 @@ homepage: https://github.com/someara/kitchen-dokken
|
|
75
75
|
licenses:
|
76
76
|
- Apache-2.0
|
77
77
|
metadata: {}
|
78
|
-
post_install_message:
|
78
|
+
post_install_message:
|
79
79
|
rdoc_options: []
|
80
80
|
require_paths:
|
81
81
|
- lib
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubygems_version: 3.1.2
|
94
|
-
signing_key:
|
94
|
+
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: A Test Kitchen Driver that talks to the Docker Remote API and uses Volumes
|
97
97
|
to produce sparse container images
|