Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

Commit

Permalink
updates to run tests locally
Browse files Browse the repository at this point in the history
  • Loading branch information
tomzo committed Dec 11, 2015
1 parent 707e602 commit 1908c5a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .kitchen.openstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ suites:
- recipe[gocd]
- recipe[gocd_test::plugin_lwrp]
attributes:
apt:
compile_time_update: true
java:
jdk_version: 7
gocd:
server:
wait_up:
retries: 120
max_mem: '1024m'
min_mem: '512m'
agent:
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ GEM
formatador (0.2.5)
gherkin (2.12.2)
multi_json (~> 1.3)
hashie (3.4.2)
hashie (3.4.3)
highline (1.7.8)
hitimes (1.2.3)
httpclient (2.6.0.1)
Expand Down Expand Up @@ -267,7 +267,7 @@ GEM
slop (~> 3.4)
rack (1.6.4)
rake (10.4.2)
retryable (2.0.2)
retryable (2.0.3)
ridley (4.3.2)
addressable
buff-config (~> 1.0)
Expand Down Expand Up @@ -360,4 +360,4 @@ DEPENDENCIES
test-kitchen

BUNDLED WITH
1.10.2
1.10.5
10 changes: 10 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@ namespace :integration do
end
end

desc 'Run Test Kitchen with openstack (private)'
task :openstack do
Kitchen.logger = Kitchen.default_file_logger
@loader = Kitchen::Loader::YAML.new(project_config: './.kitchen.openstack.yml')
config = Kitchen::Config.new( loader: @loader)
config.instances.each do |instance|
instance.test(:always)
end
end

desc 'Run Test Kitchen with docker'
task :docker do
Kitchen.logger = Kitchen.default_file_logger
Expand Down

0 comments on commit 1908c5a

Please sign in to comment.