kitchen-dokken 2.6.6 → 2.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1f491b94bdaef2901fb1e452a7ce223ea774b0f2
4
- data.tar.gz: 249dad497f5547cbc8494865b4210d21ae93ee6e
2
+ SHA256:
3
+ metadata.gz: 9a89d307232e9b860eba18cc0c517d06dc04477e3d74a482f095e3089f1a39c0
4
+ data.tar.gz: 8fcd0a4081baad30a0388e382b7c0b7c19f75515f9aa79d253b983fcf4787721
5
5
  SHA512:
6
- metadata.gz: 8dc4a2d3f82a5c82df944ba80f45bf8a9434adcc162e1c62fb5491f8ba61e9372c8eb2f71c2f865b6bd52e98bfe731e9dc07d201ee705365e71306d35019317e
7
- data.tar.gz: 3e8204f1bd46b730e8f6751e22ad8c10c90f8db8aa60eb10f058d786f3e03633c7035e1072d2a04c5ebcf0e50da7450f31152ee9adac145324dd6e5a31f9b00d
6
+ metadata.gz: b83fd14987af66b23fb24dd5a0229b1a6d98494adac947cd38c2f0fee5869ddb8b12a4c7e77429d8875de89cb0075d6c7404fd66d50fffb230a8fdb8307b3042
7
+ data.tar.gz: d2e29f811fc23b0d8e5a58b122998fe502ff08795ddb526a67c78cb6652368696b038663836bd1580aad76e23d0261ed92c30154ff214a7f84776c5013f1da9d
@@ -1,146 +1,176 @@
1
1
  # Dokken Changelog
2
2
 
3
+ # 2.6.7 (2018-03-05)
4
+
5
+ - Fix a potential race condition that may have led to the error 'Did not find config file: /opt/kitchen/client.rb'
6
+
3
7
  # 2.6.6
8
+
4
9
  - Improving the error message handling with intermediate builder
5
10
  - README updates
6
11
 
7
12
  # 2.6.5
8
- - Fixing cleanup_sandbox bug. Method from test-kitchen was causing the
9
- mount to break. Replaced it with one that globs.
13
+
14
+ - Fixing cleanup_sandbox bug. Method from test-kitchen was causing the mount to break. Replaced it with one that globs.
10
15
 
11
16
  # 2.6.4
17
+
12
18
  - Fixing pull_image method to check for new id
13
19
 
14
20
  # 2.6.3
21
+
15
22
  - tmpfs support
16
23
 
17
24
  # 2.6.2
25
+
18
26
  - Removing NotFoundError from with_retries method
19
27
 
20
28
  # 2.6.1
29
+
21
30
  - bugfix issue #118 - Ensuring sandbox cleanup on local docker hosts
22
31
 
23
32
  # 2.6.0
33
+
24
34
  - Support for testing without provisioner converging
25
35
  - entrypoint config
26
36
 
27
37
  # 2.5.1
38
+
28
39
  - re-adding boot2docker detection
29
40
 
30
41
  # 2.5.0
42
+
31
43
  - Adding support for exposing ports.
32
44
  - Port systax matches docker-compose
33
45
 
34
- ```
46
+ ```
35
47
  driver:
36
48
  hostname: www.computers.biz
37
49
  ports: "1234"
38
- ```
39
- ...or something like
50
+ ```
51
+
52
+ ...or something like
40
53
 
41
- ```
54
+ ```
42
55
  driver:
43
56
  hostname: www.computers.biz
44
57
  ports:
45
58
  - '1234'
46
59
  - '4321:4321/udp'
47
- ```
60
+ ```
48
61
 
49
62
  # 2.4.3
63
+
50
64
  - Using better paths for lockfiles
51
65
 
52
66
  # 2.4.2
67
+
53
68
  - Using lockfile gem around chef-client container and dokken network creation
54
69
 
55
70
  # 2.4.1
71
+
56
72
  - Adding NotFoundError to with_retries and beefing up rescues
57
73
 
58
74
  # 2.4.0
75
+
59
76
  - Features meant for 2.2.0, but tested properly this time.
60
77
  - Initial support for clusters / inter-suite name resolution
61
- - Dokken now creates a user-defined network named "dokken" and
62
- connects containers to it. This allows us to take advantage of the
63
- built in DNS server that in Docker 1.10 and later.
78
+ - Dokken now creates a user-defined network named "dokken" and connects containers to it. This allows us to take advantage of the built in DNS server that in Docker 1.10 and later.
64
79
 
65
- ```
80
+ ```
66
81
  driver:
67
82
  hostname: www.computers.biz
68
- ```
83
+ ```
69
84
 
70
85
  # 2.3.1
86
+
71
87
  - Actually doing the things in 2.3.0
72
88
 
73
89
  # 2.3.0
90
+
74
91
  - Reverting 2.2.x bits to 2.1.x. to restore stability to users.
75
92
  - That'll teach me to push gems at odd hours.
76
93
 
77
94
  # 2.2.4
95
+
78
96
  - bugfix: Only placing runner containers in user defined network
79
97
 
80
98
  # 2.2.3
99
+
81
100
  - bugfix: Adding gaurd logic for already existing dokken network
82
101
 
83
102
  # 2.2.2
103
+
84
104
  - bugfix: Creating dokken network before chef container
85
105
 
86
106
  # 2.2.1
107
+
87
108
  - Putting chef-client container in dokken network
88
109
  - casting aliases to Array
89
110
 
90
111
  # 2.2.0
112
+
91
113
  - Initial support for clusters / inter-suite name resolution
92
- - Dokken now creates a user-defined network named "dokken" and
93
- connects containers to it. This allows us to take advantage of the
94
- built in DNS server that in Docker 1.10 and later.
114
+ - Dokken now creates a user-defined network named "dokken" and connects containers to it. This allows us to take advantage of the built in DNS server that in Docker 1.10 and later.
95
115
 
96
- driver:
97
- hostname: www.computers.biz
116
+ driver: hostname: www.computers.biz
98
117
 
99
118
  # 2.1.10
119
+
100
120
  - Adding boot2docker detection
101
121
 
102
122
  # 2.1.9
123
+
103
124
  - Various fixes around remote docker host usage
104
125
 
105
126
  # 2.1.8
127
+
106
128
  - Using user specified image_prefix in instance_name
107
129
 
108
130
  # 2.1.7
131
+
109
132
  - bumping version. must have accidentally pushed a 2.1.6
110
133
 
111
134
  # 2.1.6
135
+
112
136
  - PR #107 - pass write_timeout to runner exec
113
137
  - PR #110 - (fix issue #109) - Add retry feature
114
138
 
115
139
  # 2.1.5
140
+
116
141
  - Fixing (again) latest/current logic (thanks @tas50)
117
142
 
118
143
  # 2.1.4
144
+
119
145
  - Fixing up current/stable/latest nomenclature to match Chef release pipeline
120
146
 
121
147
  # 2.1.3
148
+
122
149
  - Merged a bunch of PRs
123
- - #85 - mount default boot2docker shared folder in Windows
124
- - #93 - fix bundler path issue, should fix issue #92
125
- - #97 - readme: systemd requires specific mount
150
+ - # 85 - mount default boot2docker shared folder in Windows
151
+
152
+ - # 93 - fix bundler path issue, should fix issue #92
153
+
154
+ - # 97 - readme: systemd requires specific mount
126
155
 
127
156
  ## 2.1.2
157
+
128
158
  - Making a CHANGELOG.md
129
159
  - Updated gem spec to depend on test-kitchen ~> 1.5
130
160
 
131
- ## 2.1.1
161
+ ## 2.1.1
162
+
132
163
  - Fixed busser (serverspec, etc) test data uploading
133
164
 
134
165
  ## 2.0.0
166
+
135
167
  - Uses chef/chef (instead of someara/chef)
136
168
 
137
- - Bind mounts data instead of uploading through kitchen-cache container when
138
- talking to a local Docker host. (most use cases)
169
+ - Bind mounts data instead of uploading through kitchen-cache container when talking to a local Docker host. (most use cases)
139
170
 
140
- - Renders a Dockefile and builds dokken/kitchen-cache when taling to a
141
- remote Docker host. (DOCKER_HOST =~ /^tcp:/)
171
+ - Renders a Dockefile and builds dokken/kitchen-cache when taling to a remote Docker host. (DOCKER_HOST =~ /^tcp:/)
142
172
 
143
173
  ## 1.0.0
144
- - First stable release.
145
- - Relied on someara/chef and someara/kitchen-cache from the
146
- Docker hub.
174
+
175
+ - First stable release.
176
+ - Relied on someara/chef and someara/kitchen-cache from the Docker hub.
@@ -19,6 +19,6 @@
19
19
  module Kitchen
20
20
  module Driver
21
21
  # Version string for Dokken Kitchen driver
22
- DOKKEN_VERSION = '2.6.6'.freeze
22
+ DOKKEN_VERSION = '2.6.7'.freeze
23
23
  end
24
24
  end
@@ -121,12 +121,10 @@ EOF
121
121
 
122
122
  def dokken_create_sandbox
123
123
  info("Creating kitchen sandbox at #{dokken_kitchen_sandbox}")
124
- FileUtils.mkdir_p(dokken_kitchen_sandbox)
125
- File.chmod(0o755, dokken_kitchen_sandbox)
124
+ FileUtils.mkdir_p(dokken_kitchen_sandbox, :mode => 0o755)
126
125
 
127
126
  info("Creating verifier sandbox at #{dokken_verifier_sandbox}")
128
- FileUtils.mkdir_p(dokken_verifier_sandbox)
129
- File.chmod(0o755, dokken_verifier_sandbox)
127
+ FileUtils.mkdir_p(dokken_verifier_sandbox, :mode => 0o755)
130
128
  end
131
129
 
132
130
  def dokken_delete_sandbox
@@ -257,8 +255,7 @@ EOF
257
255
  def create_sandbox
258
256
  info("Creating kitchen sandbox in #{sandbox_path}")
259
257
  unless ::Dir.exist?(sandbox_path)
260
- FileUtils.mkdir_p(sandbox_path)
261
- File.chmod(0o755, sandbox_path)
258
+ FileUtils.mkdir_p(sandbox_path, :mode => 0o755)
262
259
  end
263
260
  end
264
261
  end
@@ -269,8 +266,7 @@ module Kitchen
269
266
  class Base
270
267
  def create_sandbox
271
268
  info("Creating kitchen sandbox in #{sandbox_path}")
272
- FileUtils.mkdir_p(sandbox_path)
273
- File.chmod(0o755, sandbox_path)
269
+ FileUtils.mkdir_p(sandbox_path, :mode => 0o755)
274
270
  end
275
271
 
276
272
  # this MUST be named 'sandbox_path' because ruby.
@@ -292,8 +288,7 @@ module Kitchen
292
288
  def create_sandbox
293
289
  info("Creating kitchen sandbox in #{sandbox_path}")
294
290
  unless ::Dir.exist?(sandbox_path)
295
- FileUtils.mkdir_p(sandbox_path)
296
- File.chmod(0o755, sandbox_path)
291
+ FileUtils.mkdir_p(sandbox_path, :mode => 0o755)
297
292
  end
298
293
  end
299
294
 
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-dokken
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.6
4
+ version: 2.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean OMeara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-13 00:00:00.000000000 Z
11
+ date: 2018-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.15'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.15'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: docker-api
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.33'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.33'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: lockfile
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '2.1'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.1'
55
55
  description: A Test Kitchen Driver for Dokken
@@ -76,17 +76,17 @@ require_paths:
76
76
  - lib
77
77
  required_ruby_version: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - '>='
79
+ - - ">="
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
82
  required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - '>='
84
+ - - ">="
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
88
  rubyforge_project:
89
- rubygems_version: 2.0.14.1
89
+ rubygems_version: 2.7.5
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: A Test Kitchen Driver that talks to the Docker Remote API and uses Volumes