Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 492 lines (419 sloc) 12.592 kB
e631fba @danielsdeleo [CHEF-879] add spec coverage for knife data bag
danielsdeleo authored
1 # lkjlk
2
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
3 gems = %w[chef chef-server-api chef-server-webui chef-server chef-solr]
2470370 @adamhjk Adding the features tmp directory to the ignore list
adamhjk authored
4 require 'rubygems'
5 require 'cucumber/rake/task'
b6d52be Rakefile for top level.
Ezra Zygmuntowicz authored
6
7 desc "Build the chef gems"
9e5ce90 @adamhjk Removing the git-submodules stuff for 0.6.0
adamhjk authored
8 task :gem do
988851b @stormsilver Updated Rakefile to call 'rake build' in chef-solr directory.
stormsilver authored
9 build_commands = Hash.new("rake package")
10 build_commands['chef-solr'] = 'rake build'
b6d52be Rakefile for top level.
Ezra Zygmuntowicz authored
11 gems.each do |dir|
988851b @stormsilver Updated Rakefile to call 'rake build' in chef-solr directory.
stormsilver authored
12 Dir.chdir(dir) { sh build_commands[dir] }
b6d52be Rakefile for top level.
Ezra Zygmuntowicz authored
13 end
14 end
15
6c673b3 @adamhjk Updating rakefile
adamhjk authored
16 desc "Install the chef gems"
9e5ce90 @adamhjk Removing the git-submodules stuff for 0.6.0
adamhjk authored
17 task :install do
b6d52be Rakefile for top level.
Ezra Zygmuntowicz authored
18 gems.each do |dir|
19 Dir.chdir(dir) { sh "rake install" }
20 end
6c673b3 @adamhjk Updating rakefile
adamhjk authored
21 end
4dbefb3 @adamhjk Adding example-repository
adamhjk authored
22
924b6a1 Switch from 'slice' to 'experimental'
Christopher Brown authored
23 desc "Uninstall the chef gems"
24 task :uninstall do
25 gems.reverse.each do |dir|
26 Dir.chdir(dir) { sh "rake uninstall" }
27 end
28 end
29
c126bc2 @adamhjk Updating rakefile to support rake spec
adamhjk authored
30 desc "Run the rspec tests"
31 task :spec do
1eb3e41 @adamhjk Removing the stub specs for chef-server-slice - use cucumber features…
adamhjk authored
32 Dir.chdir("chef") { sh "rake spec" }
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
33 Dir.chdir("chef-solr") { sh "rake spec" }
c126bc2 @adamhjk Updating rakefile to support rake spec
adamhjk authored
34 end
35
0cb5156 @fujin CHEF-151: More specs
fujin authored
36 task :default => :spec
37
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
38 def start_couchdb(type="normal")
39 @couchdb_server_pid = nil
40 cid = fork
41 if cid
42 @couchdb_server_pid = cid
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
43 else
44 exec("couchdb")
45 end
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
46 end
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
47
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
48 def start_rabbitmq(type="normal")
49 @rabbitmq_server_pid = nil
50 cid = fork
51 if cid
52 @rabbitmq_server_pid = cid
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
53 else
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
54 exec("rabbitmq-server")
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
55 end
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
56 end
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
57
b16b493 @danielsdeleo configure rabbitmq for nanite in dev environment
danielsdeleo authored
58 def configure_rabbitmq(type="normal")
59 # hack. wait for rabbit to come up.
60 sleep 2
61
7c26b72 @danielsdeleo replace chef/nanite with bunny driver
danielsdeleo authored
62 puts `rabbitmqctl add_vhost /chef`
b16b493 @danielsdeleo configure rabbitmq for nanite in dev environment
danielsdeleo authored
63
7c26b72 @danielsdeleo replace chef/nanite with bunny driver
danielsdeleo authored
64 # create 'chef' user, give it the password 'testing'
65 puts `rabbitmqctl add_user chef testing`
b16b493 @danielsdeleo configure rabbitmq for nanite in dev environment
danielsdeleo authored
66
7c26b72 @danielsdeleo replace chef/nanite with bunny driver
danielsdeleo authored
67 # the three regexes map to config, write, read permissions respectively
68 puts `rabbitmqctl set_permissions -p /chef chef ".*" ".*" ".*"`
b16b493 @danielsdeleo configure rabbitmq for nanite in dev environment
danielsdeleo authored
69
70 puts `rabbitmqctl list_users`
71 puts `rabbitmqctl list_vhosts`
7c26b72 @danielsdeleo replace chef/nanite with bunny driver
danielsdeleo authored
72 puts `rabbitmqctl list_permissions -p /chef`
b16b493 @danielsdeleo configure rabbitmq for nanite in dev environment
danielsdeleo authored
73
74 end
75
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
76 def start_chef_solr(type="normal")
77 @chef_solr_pid = nil
78 cid = fork
79 if cid
80 @chef_solr_pid = cid
81 else
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
82 case type
83 when "normal"
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
84 exec("./chef-solr/bin/chef-solr -l debug")
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
85 when "features"
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
86 exec("./chef-solr/bin/chef-solr -c #{File.join(File.dirname(__FILE__), "features", "data", "config", "server.rb")} -l debug")
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
87 end
88 end
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
89 end
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
90
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
91 def start_chef_solr_indexer(type="normal")
92 @chef_solr_indexer = nil
93 cid = fork
94 if cid
95 @chef_solr_indexer_pid = cid
96 else
97 case type
98 when "normal"
99 exec("./chef-solr/bin/chef-solr-indexer -l debug")
100 when "features"
101 exec("./chef-solr/bin/chef-solr-indexer -c #{File.join(File.dirname(__FILE__), "features", "data", "config", "server.rb")} -l debug")
102 end
103 end
104 end
105
106 def start_chef_server(type="normal")
c24d806 @danielsdeleo typo
danielsdeleo authored
107 puts "Starting #{type} chef development server"
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
108 @chef_server_pid = nil
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
109 mcid = fork
110 if mcid # parent
111 @chef_server_pid = mcid
112 else # child
113 case type
114 when "normal"
7c26b72 @danielsdeleo replace chef/nanite with bunny driver
danielsdeleo authored
115 puts "Starting chef server for development with './chef-server/bin/chef-server -a thin -l debug -N'"
5a66520 @danielsdeleo [CHEF-1072] cleanup and fixes for merb 1.1
danielsdeleo authored
116 exec("./chef-server-api/bin/chef-server -a thin -l debug -N")
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
117 when "features"
7c26b72 @danielsdeleo replace chef/nanite with bunny driver
danielsdeleo authored
118 puts "Starting chef server for features with #{["./chef-server/bin/chef-server -a thin -C #{File.join(File.dirname(__FILE__), "features", "data", "config", "server.rb")} -l debug -N"].join(' ')}"
5a66520 @danielsdeleo [CHEF-1072] cleanup and fixes for merb 1.1
danielsdeleo authored
119 exec("./chef-server-api/bin/chef-server -a thin -C #{File.join(File.dirname(__FILE__), "features", "data", "config", "server.rb")} -l debug -N")
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
120 end
121 end
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
122 end
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
123
d0cd67a @adamhjk Adding Web UI Rake Tasks
adamhjk authored
124 def start_chef_webui(type="normal")
125 puts "Starting #{type} chef development server webui"
126 @chef_webui_pid = nil
127 mcid = fork
128 if mcid # parent
129 @chef_webui_pid = mcid
130 else # child
131 case type
132 when "normal"
133 puts "Starting chef webui for development with './chef-server/bin/chef-server-webui -a thin -l debug -N'"
c70f05c @danielsdeleo update rakefile for new binary paths
danielsdeleo authored
134 exec("./chef-server-webui/bin/chef-server-webui -a thin -l debug -N")
d0cd67a @adamhjk Adding Web UI Rake Tasks
adamhjk authored
135 when "features"
136 puts "Starting chef server webui for features with #{["./chef-server/bin/chef-server-webui -a thin -C #{File.join(File.dirname(__FILE__), "features", "data", "config", "server.rb")} -l debug -N"].join(' ')}"
c70f05c @danielsdeleo update rakefile for new binary paths
danielsdeleo authored
137 exec("./chef-server-webui/bin/chef-server-webui -a thin -C #{File.join(File.dirname(__FILE__), "features", "data", "config", "server.rb")} -l debug -N")
d0cd67a @adamhjk Adding Web UI Rake Tasks
adamhjk authored
138 end
139 end
140 end
141
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
142 def start_dev_environment(type="normal")
143 start_couchdb(type)
144 start_rabbitmq(type)
b16b493 @danielsdeleo configure rabbitmq for nanite in dev environment
danielsdeleo authored
145 configure_rabbitmq(type)
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
146 start_chef_solr(type)
147 start_chef_solr_indexer(type)
148 start_chef_server(type)
d0cd67a @adamhjk Adding Web UI Rake Tasks
adamhjk authored
149 start_chef_webui(type)
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
150 puts "Running CouchDB at #{@couchdb_server_pid}"
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
151 puts "Running RabbitMQ at #{@rabbitmq_server_pid}"
152 puts "Running Chef Solr at #{@chef_solr_pid}"
153 puts "Running Chef Solr Indexer at #{@chef_solr_indexer_pid}"
154 puts "Running Chef at #{@chef_server_pid}"
d0cd67a @adamhjk Adding Web UI Rake Tasks
adamhjk authored
155 puts "Running Chef Web UI at #{@chef_webui_pid}"
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
156 end
157
158 def stop_dev_environment
d0cd67a @adamhjk Adding Web UI Rake Tasks
adamhjk authored
159 if @chef_webui_pid
160 puts "Stopping Chef Web UI"
161 Process.kill("KILL", @chef_webui_pid)
162 end
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
163 if @chef_server_pid
164 puts "Stopping Chef"
165 Process.kill("KILL", @chef_server_pid)
166 end
167 if @chef_solr_pid
168 puts "Stopping Chef Solr"
169 Process.kill("INT", @chef_solr_pid)
170 end
171 if @chef_solr_indexer_pid
172 puts "Stopping Chef Solr Indexer"
173 Process.kill("INT", @chef_solr_indexer_pid)
174 end
175 if @couchdb_server_pid
176 puts "Stopping CouchDB"
177 Process.kill("KILL", @couchdb_server_pid)
178 end
179 if @rabbitmq_server_pid
180 puts "Stopping RabbitMQ"
181 Process.kill("KILL", @rabbitmq_server_pid)
182 end
183 puts "Have a nice day!"
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
184 end
185
186 def wait_for_ctrlc
187 puts "Hit CTRL-C to destroy development environment"
188 trap("CHLD", "IGNORE")
189 trap("INT") do
190 stop_dev_environment
191 exit 1
192 end
193 while true
194 sleep 10
195 end
196 end
197
198 desc "Run a Devel instance of Chef"
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
199 task :dev do
3865a6e @adamhjk Adding rake tasks to run a dev environment, and run a dev environment…
adamhjk authored
200 start_dev_environment
201 wait_for_ctrlc
202 end
203
204 namespace :dev do
205 desc "Install a test instance of Chef for doing features against"
206 task :features do
207 start_dev_environment("features")
208 wait_for_ctrlc
209 end
7c26b72 @danielsdeleo replace chef/nanite with bunny driver
danielsdeleo authored
210
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
211 namespace :features do
212
213 namespace :start do
214 desc "Start CouchDB for testing"
215 task :couchdb do
216 start_couchdb("features")
217 wait_for_ctrlc
218 end
219
220 desc "Start RabbitMQ for testing"
221 task :rabbitmq do
222 start_rabbitmq("features")
b16b493 @danielsdeleo configure rabbitmq for nanite in dev environment
danielsdeleo authored
223 configure_rabbitmq("features")
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
224 wait_for_ctrlc
225 end
b16b493 @danielsdeleo configure rabbitmq for nanite in dev environment
danielsdeleo authored
226
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
227 desc "Start Chef Solr for testing"
228 task :chef_solr do
229 start_chef_solr("features")
230 wait_for_ctrlc
231 end
232
233 desc "Start Chef Solr Indexer for testing"
234 task :chef_solr_indexer do
235 start_chef_solr_indexer("features")
236 wait_for_ctrlc
237 end
238
239 desc "Start Chef Server for testing"
240 task :chef_server do
241 start_chef_server("features")
242 wait_for_ctrlc
243 end
244
d0cd67a @adamhjk Adding Web UI Rake Tasks
adamhjk authored
245 desc "Start Chef Web UI for testing"
246 task :chef_webui do
247 start_chef_webui("features")
248 wait_for_ctrlc
249 end
250
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
251 end
252 end
253
254 namespace :start do
255 desc "Start CouchDB"
256 task :couchdb do
257 start_couchdb
258 wait_for_ctrlc
259 end
260
261 desc "Start RabbitMQ"
262 task :rabbitmq do
263 start_rabbitmq
6d89129 @danielsdeleo dev_start configures rabbitmq on normal start
danielsdeleo authored
264 configure_rabbitmq
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
265 wait_for_ctrlc
266 end
267
268 desc "Start Chef Solr"
269 task :chef_solr do
270 start_chef_solr
271 wait_for_ctrlc
272 end
273
274 desc "Start Chef Solr Indexer"
275 task :chef_solr_indexer do
276 start_chef_solr_indexer
277 wait_for_ctrlc
278 end
279
280 desc "Start Chef Server"
281 task :chef_server do
282 start_chef_server
283 wait_for_ctrlc
284 end
d0cd67a @adamhjk Adding Web UI Rake Tasks
adamhjk authored
285
286 desc "Start Chef Web UI"
287 task :chef_webui do
288 start_chef_webui
289 wait_for_ctrlc
290 end
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
291 end
2470370 @adamhjk Adding the features tmp directory to the ignore list
adamhjk authored
292 end
293
294 Cucumber::Rake::Task.new(:features) do |t|
d402fb9 @adamhjk Adding features for synchronization, fixing bugs in remote_directory,…
adamhjk authored
295 t.profile = "default"
296 end
297
298 namespace :features do
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
299 desc "Run cucumber tests for the REST API"
e0c1158 @fujin CHEF-418: Readme clarification for features
fujin authored
300 Cucumber::Rake::Task.new(:api) do |t|
301 t.profile = "api"
302 end
d402fb9 @adamhjk Adding features for synchronization, fixing bugs in remote_directory,…
adamhjk authored
303
e0c1158 @fujin CHEF-418: Readme clarification for features
fujin authored
304 namespace :api do
90feb81 @adamhjk API Client support, with full tests passing.
adamhjk authored
305 [ :nodes, :roles, :clients ].each do |api|
89deb69 @fujin CHEF-416: Integration Features fixes (roles,search)
fujin authored
306 Cucumber::Rake::Task.new(api) do |apitask|
307 apitask.profile = "api_#{api.to_s}"
308 end
309 namespace api do
310 %w{create delete list show update}.each do |action|
311 Cucumber::Rake::Task.new("#{action}") do |t|
312 t.profile = "api_#{api.to_s}_#{action}"
313 end
314 end
315 end
316 end
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
317
e0db7b2 @adamhjk Working Node Web UI vs API.
adamhjk authored
318 namespace :nodes do
319 Cucumber::Rake::Task.new("sync") do |t|
320 t.profile = "api_nodes_sync"
321 end
322 end
323
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
324 namespace :cookbooks do
325 desc "Run cucumber tests for the cookbooks portion of the REST API"
326 Cucumber::Rake::Task.new(:cookbooks) do |t|
327 t.profile = "api_cookbooks"
328 end
61062af CHEF-542: cookbook tarball CRUD, which necessitated CHEF-754: reposit…
chris authored
329
330 Cucumber::Rake::Task.new(:cookbook_tarballs) do |t|
331 t.profile = "api_cookbooks_tarballs"
332 end
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
333 end
334
335 namespace :data do
336 desc "Run cucumber tests for the data portion of the REST API"
337 Cucumber::Rake::Task.new(:data) do |t|
338 t.profile = "api_data"
339 end
340
341 desc "Run cucumber tests for deleting data via the REST API"
342 Cucumber::Rake::Task.new(:delete) do |t|
343 t.profile = "api_data_delete"
344 end
345 desc "Run cucumber tests for adding items via the REST API"
346 Cucumber::Rake::Task.new(:item) do |t|
347 t.profile = "api_data_item"
348 end
349 end
350
351 namespace :search do
352 desc "Run cucumber tests for searching via the REST API"
353 Cucumber::Rake::Task.new(:search) do |t|
354 t.profile = "api_search"
355 end
356
357 desc "Run cucumber tests for listing search endpoints via the REST API"
358 Cucumber::Rake::Task.new(:list) do |t|
359 t.profile = "api_search_list"
360 end
361 desc "Run cucumber tests for searching via the REST API"
362 Cucumber::Rake::Task.new(:show) do |t|
363 t.profile = "api_search_show"
364 end
bfe18ea @danielsdeleo add cucumber task to test index rebuilds
danielsdeleo authored
365 desc "Run cucumber tests for searching via the REST API"
366 Cucumber::Rake::Task.new(:reindex) do |t|
367 t.profile = "api_search_reindex"
368 end
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
369 end
89deb69 @fujin CHEF-416: Integration Features fixes (roles,search)
fujin authored
370 end
e39bef6 @adamhjk Adding feature tests for Chef::Node::Attributes, integrating with Che…
adamhjk authored
371
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
372 desc "Run cucumber tests for the chef client"
d402fb9 @adamhjk Adding features for synchronization, fixing bugs in remote_directory,…
adamhjk authored
373 Cucumber::Rake::Task.new(:client) do |t|
374 t.profile = "client"
375 end
376
e39bef6 @adamhjk Adding feature tests for Chef::Node::Attributes, integrating with Che…
adamhjk authored
377 namespace :client do
378 Cucumber::Rake::Task.new(:roles) do |t|
379 t.profile = "client_roles"
380 end
6033af0 @fujin CHEF-637: Rigorize the chef-client interval cuke.
fujin authored
381
382 Cucumber::Rake::Task.new(:run_interval) do |t|
383 t.profile = "client_run_interval"
384 end
f7c5d64 @adamhjk Fixing CHEF-749, we now properly cache cookbooks again.
adamhjk authored
385
386 Cucumber::Rake::Task.new(:cookbook_sync) do |t|
387 t.profile = "client_cookbook_sync"
388 end
8c8947b @adamhjk Adding CHEF-838 features
adamhjk authored
389
390 Cucumber::Rake::Task.new(:attribute_settings) do |t|
391 t.profile = "attribute_settings"
392 end
e39bef6 @adamhjk Adding feature tests for Chef::Node::Attributes, integrating with Che…
adamhjk authored
393 end
394
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
395 desc "Run cucumber tests for the cookbooks"
396 Cucumber::Rake::Task.new(:cookbooks) do |t|
397 t.profile = "cookbooks"
398 end
399
392078f @adamhjk Fixing cookbook metadata tests
adamhjk authored
400 namespace :cookbook do
401
402 desc "Run cucumber tests for the cookbook metadata"
403 Cucumber::Rake::Task.new(:metadata) do |t|
404 t.profile = "cookbook_metadata"
405 end
406 end
407
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
408 desc "Run cucumber tests for the recipe language"
409 Cucumber::Rake::Task.new(:language) do |t|
410 t.profile = "language"
411 end
412
413 desc "Run cucumber tests for searching in recipes"
be3d8a8 @adamhjk Adding Chef::Search::Result, and auto-inflating them
adamhjk authored
414 Cucumber::Rake::Task.new(:search) do |t|
415 t.profile = "search"
416 end
417
3a27409 @adamhjk Adding a guard block to check seen_recipes, to ensure that we never r…
adamhjk authored
418 Cucumber::Rake::Task.new(:language) do |t|
419 t.profile = "language"
420 end
421
422 namespace :language do
423 Cucumber::Rake::Task.new(:recipe_include) do |t|
424 t.profile = "recipe_inclusion"
425 end
13ac645 @adamhjk Attribute inclusion mixin, and features
adamhjk authored
426 Cucumber::Rake::Task.new(:attribute_include) do |t|
427 t.profile = "attribute_inclusion"
428 end
3a27409 @adamhjk Adding a guard block to check seen_recipes, to ensure that we never r…
adamhjk authored
429 end
bd29634 Light-weight resources and providers, as well as API controller re-fa…
chris authored
430
431 Cucumber::Rake::Task.new(:lwrp) do |t|
432 t.profile = "lwrp"
433 end
3a27409 @adamhjk Adding a guard block to check seen_recipes, to ensure that we never r…
adamhjk authored
434
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
435 desc "Run cucumber tests for providers"
436 Cucumber::Rake::Task.new(:provider) do |t|
437 t.profile = "provider"
438 end
439
bd29634 Light-weight resources and providers, as well as API controller re-fa…
chris authored
440
d402fb9 @adamhjk Adding features for synchronization, fixing bugs in remote_directory,…
adamhjk authored
441 namespace :provider do
5096963 @adamhjk Adding the deploy features to the Rakefile
adamhjk authored
442 desc "Run cucumber tests for deploy resources"
443 Cucumber::Rake::Task.new(:deploy) do |t|
444 t.profile = "provider_deploy"
445 end
446
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
447 desc "Run cucumber tests for directory resources"
448 Cucumber::Rake::Task.new(:directory) do |t|
449 t.profile = "provider_directory"
450 end
451
452 desc "Run cucumber tests for execute resources"
453 Cucumber::Rake::Task.new(:execute) do |t|
454 t.profile = "provider_execute"
455 end
456
457 desc "Run cucumber tests for file resources"
5cb52d9 @adamhjk Merge branch 'master' of git@github.com:opscode/chef into 0.8-alpha-m…
adamhjk authored
458 Cucumber::Rake::Task.new(:file) do |t|
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
459 t.profile = "provider_file"
460 end
461
462 desc "Run cucumber tests for remote_file resources"
d402fb9 @adamhjk Adding features for synchronization, fixing bugs in remote_directory,…
adamhjk authored
463 Cucumber::Rake::Task.new(:remote_file) do |t|
464 t.profile = "provider_remote_file"
465 end
5cb52d9 @adamhjk Merge branch 'master' of git@github.com:opscode/chef into 0.8-alpha-m…
adamhjk authored
466
467 desc "Run cucumber tests for template resources"
468 Cucumber::Rake::Task.new(:template) do |t|
469 t.profile = "provider_template"
470 end
20caa7e @adamhjk Fixing solo support, updating solo based features
adamhjk authored
471
1892db4 @danielsdeleo Create integration test for remote directory.
danielsdeleo authored
472 Cucumber::Rake::Task.new(:remote_directory) do |t|
473 t.profile = "provider_remote_directory"
474 end
475
b86c5b0 @fujin CHEF-526: Chef Deploy support
fujin authored
476 Cucumber::Rake::Task.new(:git) do |t|
477 t.profile = "provider_git"
478 end
479
20caa7e @adamhjk Fixing solo support, updating solo based features
adamhjk authored
480 namespace :package do
89779a4 @adamhjk Initial pass at a Chef 0.8.0 alpha
adamhjk authored
481 desc "Run cucumber tests for macports packages"
20caa7e @adamhjk Fixing solo support, updating solo based features
adamhjk authored
482 Cucumber::Rake::Task.new(:macports) do |t|
483 t.profile = "provider_package_macports"
484 end
62d7a5b @danielsdeleo Add rake shortcut for gem provider cukes
danielsdeleo authored
485
486 Cucumber::Rake::Task.new(:gems) do |g|
487 g.profile = "provider_package_rubygems"
488 end
20caa7e @adamhjk Fixing solo support, updating solo based features
adamhjk authored
489 end
d402fb9 @adamhjk Adding features for synchronization, fixing bugs in remote_directory,…
adamhjk authored
490 end
56d93a6 removed accidental add of the built gem, rearranged build order in Ra…
Christopher Brown authored
491 end
Something went wrong with that request. Please try again.