kitchen-dokken 2.6.5 → 2.6.6

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: 5014a4e7363b7790145dfa44f89b1673c294188b
4
- data.tar.gz: '0197af783a14de1a9b3a8f8e414dac855f05a815'
3
+ metadata.gz: 1f491b94bdaef2901fb1e452a7ce223ea774b0f2
4
+ data.tar.gz: 249dad497f5547cbc8494865b4210d21ae93ee6e
5
5
  SHA512:
6
- metadata.gz: 595a27bcfec60b9d6ad2f6246fba9595b62a97ba9ea7ec2976a11610798946125a3ef549e32ee200ac95610a90c22b8028576d70358306b99b5ded23ce25d577
7
- data.tar.gz: 066b815c198849c0790701608b3ffcc29ea5cb1df95586a34a0f5ffe907ad29184f545a7acf150f23a5f83453e553fb1731bc16eaf2b7fad853ba3d728c7963b
6
+ metadata.gz: 8dc4a2d3f82a5c82df944ba80f45bf8a9434adcc162e1c62fb5491f8ba61e9372c8eb2f71c2f865b6bd52e98bfe731e9dc07d201ee705365e71306d35019317e
7
+ data.tar.gz: 3e8204f1bd46b730e8f6751e22ad8c10c90f8db8aa60eb10f058d786f3e03633c7035e1072d2a04c5ebcf0e50da7450f31152ee9adac145324dd6e5a31f9b00d
@@ -1,5 +1,9 @@
1
1
  # Dokken Changelog
2
2
 
3
+ # 2.6.6
4
+ - Improving the error message handling with intermediate builder
5
+ - README updates
6
+
3
7
  # 2.6.5
4
8
  - Fixing cleanup_sandbox bug. Method from test-kitchen was causing the
5
9
  mount to break. Replaced it with one that globs.
@@ -145,8 +145,18 @@ module Kitchen
145
145
  },
146
146
  docker_connection
147
147
  )
148
- rescue
149
- raise 'work_image build failed'
148
+ # credit to https://github.com/someara/kitchen-dokken/issues/95#issue-224697526
149
+ rescue Docker::Error::UnexpectedResponseError => e
150
+ msg = 'work_image build failed: '
151
+ msg += JSON.parse(e.to_s.split("\r\n").last)['error'].to_s
152
+ msg += '. The common scenerios are incorrect intermediate'
153
+ msg += 'instructions such as not including `-y` on an `apt-get` '
154
+ msg += 'or similar. The other common scenerio is a transient '
155
+ msg += 'error such as an unresponsive mirror.'
156
+ raise msg
157
+ # fallback rescue above should catch most of the errors
158
+ rescue => e
159
+ raise "work_image build failed: #{e}"
150
160
  end
151
161
 
152
162
  state[:work_image] = work_image
@@ -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.5'.freeze
22
+ DOKKEN_VERSION = '2.6.6'.freeze
23
23
  end
24
24
  end
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.5
4
+ version: 2.6.6
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-08-25 00:00:00.000000000 Z
11
+ date: 2017-12-13 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
@@ -61,7 +61,6 @@ extra_rdoc_files: []
61
61
  files:
62
62
  - CHANGELOG.md
63
63
  - LICENSE
64
- - lib/kitchen/driver/dokken
65
64
  - lib/kitchen/driver/dokken.rb
66
65
  - lib/kitchen/driver/dokken_version.rb
67
66
  - lib/kitchen/helpers.rb
@@ -77,17 +76,17 @@ require_paths:
77
76
  - lib
78
77
  required_ruby_version: !ruby/object:Gem::Requirement
79
78
  requirements:
80
- - - ">="
79
+ - - '>='
81
80
  - !ruby/object:Gem::Version
82
81
  version: '0'
83
82
  required_rubygems_version: !ruby/object:Gem::Requirement
84
83
  requirements:
85
- - - ">="
84
+ - - '>='
86
85
  - !ruby/object:Gem::Version
87
86
  version: '0'
88
87
  requirements: []
89
88
  rubyforge_project:
90
- rubygems_version: 2.6.11
89
+ rubygems_version: 2.0.14.1
91
90
  signing_key:
92
91
  specification_version: 4
93
92
  summary: A Test Kitchen Driver that talks to the Docker Remote API and uses Volumes
File without changes