chef-dk 0.12.0 → 0.13.21

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,29 +1,22 @@
1
- #
2
- # Copyright:: Copyright (c) 2014 Chef Software Inc.
3
- # License:: Apache License, Version 2.0
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
- #
17
-
18
- require "bundler/gem_tasks"
19
-
20
- require "github_changelog_generator/task"
21
-
22
- GitHubChangelogGenerator::RakeTask.new :changelog do |config|
23
- config.user = "chef"
24
- config.project = "chef-dk"
25
- config.future_release = ChefDK::VERSION
26
- config.enhancement_labels = "enhancement,Enhancement,New Feature,Feature".split(",")
27
- config.bug_labels = "bug,Bug,Improvement,Upstream Bug".split(",")
28
- config.exclude_labels = "duplicate,question,invalid,wontfix,no_changelog,Exclude From Changelog,Question,Discussion".split(",")
29
- end
1
+ #
2
+ # Copyright:: Copyright (c) 2016 Chef Software Inc.
3
+ # License:: Apache License, Version 2.0
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+ #
17
+
18
+ require "bundler/gem_tasks"
19
+ require_relative "tasks/version"
20
+ require_relative "tasks/bundle"
21
+ require_relative "tasks/dependencies"
22
+ require_relative "tasks/github_changelog_generator"
@@ -10,7 +10,7 @@ end
10
10
  driver:
11
11
  name: ec2
12
12
  tags:
13
- X-Project: Kitchen Tests
13
+ X-Project: chef-ci-acceptance
14
14
  aws_ssh_key_id: <%= ENV['AWS_SSH_KEY_ID'] || ENV['USER'] || ENV['USERNAME'] %>
15
15
  # test-specific stuff
16
16
  region: us-west-2
@@ -223,7 +223,9 @@ platforms:
223
223
  transport:
224
224
  username: administrator
225
225
 
226
- - name: windows-2012
226
+ - name: windows-2012r2
227
+ provisioner:
228
+ architecture: <%= ENV["KITCHEN_CHEF_WIN_ARCHITECTURE"] %>
227
229
  driver:
228
230
  image_search:
229
231
  name: Windows_Server-2012-RTM*-English-*-Base-*
@@ -234,7 +236,9 @@ platforms:
234
236
  image-type: machine
235
237
  transport:
236
238
  username: administrator
237
- - name: windows-2008r2
239
+ - name: windows-2012r2
240
+ provisioner:
241
+ architecture: <%= ENV["KITCHEN_CHEF_WIN_ARCHITECTURE"] %>
238
242
  driver:
239
243
  image_search:
240
244
  name: Windows_Server-2008-R2*-English-*-Base-*
@@ -1,11 +1,10 @@
1
- source "https://rubygems.org"
2
-
3
- gem "mixlib-install", github: "chef/mixlib-install"
4
- gem "chef-acceptance", github: "chef/chef-acceptance"
5
- gem "test-kitchen", github: "sersut/test-kitchen", branch: "sersut/mixlib-install-update"
6
- gem "kitchen-ec2", github: "test-kitchen/kitchen-ec2", branch: "jk/image-search-only"
7
- gem "kitchen-inspec"
8
- gem "kitchen-vagrant"
9
- gem "windows_chef_zero"
10
- gem "winrm-transport"
11
- gem "berkshelf"
1
+ source "https://rubygems.org"
2
+
3
+ gem "chef-acceptance", github: "chef/chef-acceptance"
4
+ gem "test-kitchen"
5
+ gem "kitchen-ec2", github: "test-kitchen/kitchen-ec2", branch: "jk/image-search-only"
6
+ gem "kitchen-inspec"
7
+ gem "kitchen-vagrant"
8
+ gem "windows_chef_zero"
9
+ gem "winrm-fs"
10
+ gem "berkshelf"
@@ -0,0 +1,242 @@
1
+ GIT
2
+ remote: git://github.com/chef/chef-acceptance.git
3
+ revision: 49458ec493dbd12588680eea9f2f9beb76463d09
4
+ specs:
5
+ chef-acceptance (0.2.0)
6
+ mixlib-shellout (~> 2.0)
7
+ thor (~> 0.19)
8
+
9
+ GIT
10
+ remote: git://github.com/test-kitchen/kitchen-ec2.git
11
+ revision: 61458c354d71a4156263e7f8b33e51c6edcb5aa6
12
+ branch: jk/image-search-only
13
+ specs:
14
+ kitchen-ec2 (1.0.0.dev.0)
15
+ aws-sdk (~> 2)
16
+ excon
17
+ multi_json
18
+ retryable (~> 2.0)
19
+ test-kitchen (~> 1.4, >= 1.4.1)
20
+ ubuntu_ami (~> 0.4.1)
21
+
22
+ GEM
23
+ remote: https://rubygems.org/
24
+ specs:
25
+ addressable (2.4.0)
26
+ artifactory (2.3.2)
27
+ aws-sdk (2.2.34)
28
+ aws-sdk-resources (= 2.2.34)
29
+ aws-sdk-core (2.2.34)
30
+ jmespath (~> 1.0)
31
+ aws-sdk-resources (2.2.34)
32
+ aws-sdk-core (= 2.2.34)
33
+ berkshelf (4.3.2)
34
+ addressable (~> 2.3, >= 2.3.4)
35
+ berkshelf-api-client (~> 2.0, >= 2.0.2)
36
+ buff-config (~> 1.0)
37
+ buff-extensions (~> 1.0)
38
+ buff-shell_out (~> 0.1)
39
+ celluloid (= 0.16.0)
40
+ celluloid-io (~> 0.16.1)
41
+ cleanroom (~> 1.0)
42
+ faraday (~> 0.9)
43
+ httpclient (~> 2.7)
44
+ minitar (~> 0.5, >= 0.5.4)
45
+ octokit (~> 4.0)
46
+ retryable (~> 2.0)
47
+ ridley (~> 4.5)
48
+ solve (~> 2.0)
49
+ thor (~> 0.19)
50
+ berkshelf-api-client (2.0.2)
51
+ faraday (~> 0.9.1)
52
+ httpclient (~> 2.7.0)
53
+ ridley (~> 4.5)
54
+ buff-config (1.0.1)
55
+ buff-extensions (~> 1.0)
56
+ varia_model (~> 0.4)
57
+ buff-extensions (1.0.0)
58
+ buff-ignore (1.1.1)
59
+ buff-ruby_engine (0.1.0)
60
+ buff-shell_out (0.2.0)
61
+ buff-ruby_engine (~> 0.1.0)
62
+ builder (3.2.2)
63
+ celluloid (0.16.0)
64
+ timers (~> 4.0.0)
65
+ celluloid-io (0.16.2)
66
+ celluloid (>= 0.16.0)
67
+ nio4r (>= 1.1.0)
68
+ chef-config (12.9.38)
69
+ fuzzyurl (~> 0.8.0)
70
+ mixlib-config (~> 2.0)
71
+ mixlib-shellout (~> 2.0)
72
+ cleanroom (1.0.0)
73
+ coderay (1.1.1)
74
+ diff-lcs (1.2.5)
75
+ docker-api (1.26.2)
76
+ excon (>= 0.38.0)
77
+ json
78
+ erubis (2.7.0)
79
+ excon (0.49.0)
80
+ faraday (0.9.2)
81
+ multipart-post (>= 1.2, < 3)
82
+ ffi (1.9.10)
83
+ fuzzyurl (0.8.0)
84
+ gssapi (1.2.0)
85
+ ffi (>= 1.0.1)
86
+ gyoku (1.3.1)
87
+ builder (>= 2.1.2)
88
+ hashie (3.4.3)
89
+ hitimes (1.2.3)
90
+ httpclient (2.7.1)
91
+ inspec (0.18.0)
92
+ json (~> 1.8)
93
+ method_source (~> 0.8)
94
+ pry (~> 0)
95
+ r-train (~> 0.10.4)
96
+ rainbow (~> 2)
97
+ rspec (~> 3.3)
98
+ rspec-its (~> 1.2)
99
+ rubyzip (~> 1.1)
100
+ thor (~> 0.19)
101
+ jmespath (1.2.4)
102
+ json_pure (>= 1.8.1)
103
+ json (1.8.3)
104
+ json_pure (1.8.3)
105
+ kitchen-inspec (0.12.5)
106
+ inspec (>= 0.14.1, < 1.0.0)
107
+ test-kitchen (~> 1.6)
108
+ kitchen-vagrant (0.20.0)
109
+ test-kitchen (~> 1.4)
110
+ little-plugger (1.1.4)
111
+ logging (2.1.0)
112
+ little-plugger (~> 1.1)
113
+ multi_json (~> 1.10)
114
+ method_source (0.8.2)
115
+ minitar (0.5.4)
116
+ mixlib-authentication (1.4.0)
117
+ mixlib-log
118
+ rspec-core (~> 3.2)
119
+ rspec-expectations (~> 3.2)
120
+ rspec-mocks (~> 3.2)
121
+ mixlib-config (2.2.1)
122
+ mixlib-install (1.0.6)
123
+ artifactory (>= 2.3.0)
124
+ mixlib-shellout (>= 2.2.6)
125
+ mixlib-versioning (>= 1.1.0)
126
+ mixlib-log (1.6.0)
127
+ mixlib-shellout (2.2.6)
128
+ mixlib-versioning (1.1.0)
129
+ molinillo (0.4.4)
130
+ multi_json (1.11.2)
131
+ multipart-post (2.0.0)
132
+ net-scp (1.2.1)
133
+ net-ssh (>= 2.6.5)
134
+ net-ssh (3.1.1)
135
+ nio4r (1.2.1)
136
+ nori (2.6.0)
137
+ octokit (4.3.0)
138
+ sawyer (~> 0.7.0, >= 0.5.3)
139
+ pry (0.10.3)
140
+ coderay (~> 1.1.0)
141
+ method_source (~> 0.8.1)
142
+ slop (~> 3.4)
143
+ r-train (0.10.4)
144
+ docker-api (~> 1.26.2)
145
+ json (~> 1.8)
146
+ mixlib-shellout (~> 2.1)
147
+ net-scp (~> 1.2)
148
+ net-ssh (>= 2.9, < 4.0)
149
+ winrm (~> 1.6)
150
+ winrm-fs (~> 0.3)
151
+ rainbow (2.1.0)
152
+ retryable (2.0.3)
153
+ ridley (4.5.0)
154
+ addressable
155
+ buff-config (~> 1.0)
156
+ buff-extensions (~> 1.0)
157
+ buff-ignore (~> 1.1)
158
+ buff-shell_out (~> 0.1)
159
+ celluloid (~> 0.16.0)
160
+ celluloid-io (~> 0.16.1)
161
+ chef-config (>= 12.5.0)
162
+ erubis
163
+ faraday (~> 0.9.0)
164
+ hashie (>= 2.0.2, < 4.0.0)
165
+ httpclient (~> 2.7)
166
+ json (>= 1.7.7)
167
+ mixlib-authentication (>= 1.3.0)
168
+ retryable (~> 2.0)
169
+ semverse (~> 1.1)
170
+ varia_model (~> 0.4.0)
171
+ rspec (3.4.0)
172
+ rspec-core (~> 3.4.0)
173
+ rspec-expectations (~> 3.4.0)
174
+ rspec-mocks (~> 3.4.0)
175
+ rspec-core (3.4.4)
176
+ rspec-support (~> 3.4.0)
177
+ rspec-expectations (3.4.0)
178
+ diff-lcs (>= 1.2.0, < 2.0)
179
+ rspec-support (~> 3.4.0)
180
+ rspec-its (1.2.0)
181
+ rspec-core (>= 3.0.0)
182
+ rspec-expectations (>= 3.0.0)
183
+ rspec-mocks (3.4.1)
184
+ diff-lcs (>= 1.2.0, < 2.0)
185
+ rspec-support (~> 3.4.0)
186
+ rspec-support (3.4.1)
187
+ rubyntlm (0.6.0)
188
+ rubyzip (1.2.0)
189
+ safe_yaml (1.0.4)
190
+ sawyer (0.7.0)
191
+ addressable (>= 2.3.5, < 2.5)
192
+ faraday (~> 0.8, < 0.10)
193
+ semverse (1.2.1)
194
+ slop (3.6.0)
195
+ solve (2.0.3)
196
+ molinillo (~> 0.4.2)
197
+ semverse (~> 1.1)
198
+ test-kitchen (1.7.3)
199
+ mixlib-install (~> 1.0, >= 1.0.4)
200
+ mixlib-shellout (>= 1.2, < 3.0)
201
+ net-scp (~> 1.1)
202
+ net-ssh (>= 2.9, < 4.0)
203
+ safe_yaml (~> 1.0)
204
+ thor (~> 0.18)
205
+ thor (0.19.1)
206
+ timers (4.0.4)
207
+ hitimes
208
+ ubuntu_ami (0.4.1)
209
+ varia_model (0.4.1)
210
+ buff-extensions (~> 1.0)
211
+ hashie (>= 2.0.2, < 4.0.0)
212
+ windows_chef_zero (2.0.0)
213
+ test-kitchen (>= 1.2.1)
214
+ winrm (1.7.3)
215
+ builder (>= 2.1.2)
216
+ gssapi (~> 1.2)
217
+ gyoku (~> 1.0)
218
+ httpclient (~> 2.2, >= 2.2.0.2)
219
+ logging (>= 1.6.1, < 3.0)
220
+ nori (~> 2.0)
221
+ rubyntlm (~> 0.6.0)
222
+ winrm-fs (0.4.2)
223
+ erubis (~> 2.7)
224
+ logging (>= 1.6.1, < 3.0)
225
+ rubyzip (~> 1.1)
226
+ winrm (~> 1.5)
227
+
228
+ PLATFORMS
229
+ ruby
230
+
231
+ DEPENDENCIES
232
+ berkshelf
233
+ chef-acceptance!
234
+ kitchen-ec2!
235
+ kitchen-inspec
236
+ kitchen-vagrant
237
+ test-kitchen
238
+ windows_chef_zero
239
+ winrm-fs
240
+
241
+ BUNDLED WITH
242
+ 1.11.2
@@ -1,64 +1,67 @@
1
- #
2
- # Copyright:: Copyright (c) 2014 Chef Software Inc.
3
- # License:: Apache License, Version 2.0
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
- #
17
-
18
- lib = File.expand_path('../lib', __FILE__)
19
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
20
- require 'chef-dk/version'
21
-
22
- Gem::Specification.new do |gem|
23
- gem.name = "chef-dk"
24
- gem.version = ChefDK::VERSION
25
- gem.authors = [ "Daniel DeLeo", "Lamont Granquist", "Serdar Sutay" ]
26
- gem.email = [ "dan@chef.io", "lamont@chef.io", "serdar@chef.io"]
27
- gem.description = "A streamlined development and deployment workflow for Chef platform."
28
- gem.summary = gem.description
29
- gem.homepage = "https://www.chef.io/"
30
-
31
- gem.required_ruby_version = '>= 2.0'
32
-
33
- gem.files = %w(Gemfile Rakefile LICENSE README.md CONTRIBUTING.md warning.txt) + Dir.glob("*.gemspec") +
34
- Dir.glob("{lib,spec,acceptance}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
35
- gem.executables = %w( chef )
36
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
37
- gem.require_paths = ["lib"]
38
-
39
- gem.add_dependency "mixlib-cli", "~> 1.5"
40
- gem.add_dependency "mixlib-shellout", "~> 2.0"
41
- gem.add_dependency "ffi-yajl", ">= 1.0", "< 3.0"
42
-
43
- gem.add_dependency "minitar", "~> 0.5.4"
44
-
45
- gem.add_dependency "chef", "~> 12.5"
46
-
47
- gem.add_dependency "solve", "~> 2.0", ">= 2.0.1"
48
-
49
- gem.add_dependency "cookbook-omnifetch", "~> 0.2", ">= 0.2.2"
50
-
51
- gem.add_dependency "diff-lcs", "~> 1.0"
52
- gem.add_dependency "paint", "~> 1.0"
53
-
54
- gem.add_dependency "chef-provisioning", "~> 1.2"
55
-
56
- gem.add_development_dependency "github_changelog_generator"
57
-
58
- %w(rspec-core rspec-expectations rspec-mocks).each do |dev_gem|
59
- gem.add_development_dependency dev_gem, "~> 3.0"
60
- end
61
-
62
- gem.post_install_message = File.read(File.join(__dir__, 'warning.txt'))
63
-
64
- end
1
+ #
2
+ # Copyright:: Copyright (c) 2014 Chef Software Inc.
3
+ # License:: Apache License, Version 2.0
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+ #
17
+
18
+ lib = File.expand_path('../lib', __FILE__)
19
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
20
+ require 'chef-dk/version'
21
+
22
+ Gem::Specification.new do |gem|
23
+ gem.name = "chef-dk"
24
+ gem.version = ChefDK::VERSION
25
+ gem.authors = [ "Daniel DeLeo", "Lamont Granquist", "Serdar Sutay" ]
26
+ gem.email = [ "dan@chef.io", "lamont@chef.io", "serdar@chef.io"]
27
+ gem.description = "A streamlined development and deployment workflow for Chef platform."
28
+ gem.summary = gem.description
29
+ gem.homepage = "https://www.chef.io/"
30
+
31
+ gem.required_ruby_version = '>= 2.0'
32
+
33
+ gem.files = %w{Rakefile LICENSE README.md CONTRIBUTING.md warning.txt} +
34
+ %w{version_policy.rb omnibus_overrides.rb} +
35
+ Dir.glob("Gemfile*") + # Includes Gemfile and locks
36
+ Dir.glob("*.gemspec") +
37
+ Dir.glob("{lib,spec,acceptance,tasks}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
38
+ gem.executables = %w( chef )
39
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
40
+ gem.require_paths = ["lib"]
41
+
42
+ gem.add_dependency "mixlib-cli", "~> 1.5"
43
+ gem.add_dependency "mixlib-shellout", "~> 2.0"
44
+ gem.add_dependency "ffi-yajl", ">= 1.0", "< 3.0"
45
+
46
+ gem.add_dependency "minitar", "~> 0.5.4"
47
+
48
+ gem.add_dependency "chef", "~> 12.5"
49
+
50
+ gem.add_dependency "solve", "~> 2.0", ">= 2.0.1"
51
+
52
+ gem.add_dependency "cookbook-omnifetch", "~> 0.2", ">= 0.2.2"
53
+
54
+ gem.add_dependency "diff-lcs", "~> 1.0"
55
+ gem.add_dependency "paint", "~> 1.0"
56
+
57
+ gem.add_dependency "chef-provisioning", "~> 1.2"
58
+
59
+ gem.add_development_dependency "github_changelog_generator"
60
+
61
+ %w(rspec-core rspec-expectations rspec-mocks).each do |dev_gem|
62
+ gem.add_development_dependency dev_gem, "~> 3.0"
63
+ end
64
+
65
+ gem.post_install_message = File.read(File.expand_path("../warning.txt", __FILE__))
66
+
67
+ end