Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

initial test kitchen 1.0 alpha support

  • Loading branch information...
commit d32c4b3ab4a525db221b8326bc771d4d25b418f1 1 parent 18538ed
Joshua Timberman authored
12  .gitignore
... ...
@@ -1,6 +1,14 @@
1  
-*.sw[op]
  1
+.vagrant
  2
+Berksfile.lock
  3
+Gemfile.lock
  4
+*~
  5
+*#
  6
+.#*
  7
+\#*#
  8
+.*.sw[a-z]
  9
+*.un~
2 10
 .bundle
3 11
 .cache
4 12
 .kitchen
5 13
 bin
6  
-Gemfile.lock
  14
+.kitchen.local.yml
40  .kitchen.yml
... ...
@@ -0,0 +1,40 @@
  1
+---
  2
+driver_plugin: vagrant
  3
+platforms:
  4
+- name: ubuntu-12.04
  5
+  driver_config:
  6
+    box: canonical-ubuntu-12.04
  7
+    box_url: http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box
  8
+    require_chef_omnibus: 11.4.0
  9
+  run_list:
  10
+  - recipe[apt]
  11
+- name: ubuntu-10.04
  12
+  driver_config:
  13
+    box: opscode-ubuntu-10.04
  14
+    box_url: http://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-10.04_chef-11.2.0.box
  15
+    require_chef_omnibus: 11.4.0
  16
+  run_list:
  17
+  - recipe[apt]
  18
+- name: centos-6.3
  19
+  driver_config:
  20
+    box: opscode-centos-6.3
  21
+    box_url: http://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-6.3_chef-11.2.0.box
  22
+    require_chef_omnibus: 11.4.0
  23
+  run_list:
  24
+  - recipe[yum::epel]
  25
+- name: centos-5.8
  26
+  driver_config:
  27
+    box: opscode-centos-5.8
  28
+    box_url: http://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-5.8_chef-11.2.0.box
  29
+    require_chef_omnibus: 11.4.0
  30
+  run_list:
  31
+  - recipe[yum::epel]
  32
+suites:
  33
+- name: default
  34
+  run_list:
  35
+  - recipe[couchdb]
  36
+  attributes: {}
  37
+- name: source
  38
+  run_list:
  39
+  - recipe[couchdb::source]
  40
+  attributes: {}
11  Berksfile
... ...
@@ -0,0 +1,11 @@
  1
+site :opscode
  2
+
  3
+metadata
  4
+
  5
+group :integration do
  6
+  cookbook "apt"
  7
+  cookbook "yum"
  8
+
  9
+  # Future, when/if minitest support for this cookbook is added
  10
+  #cookbook "minitest-handler"
  11
+end
16  Gemfile
... ...
@@ -1,3 +1,15 @@
1  
-source :rubygems
  1
+source 'https://rubygems.org'
2 2
 
3  
-gem 'test-kitchen', '< 1.0'
  3
+gem 'foodcritic'
  4
+gem 'berkshelf'
  5
+gem 'thor-foodcritic'
  6
+gem 'vagrant', '~> 1.0.6'
  7
+
  8
+group :integration do
  9
+  gem 'test-kitchen', :git => "git://github.com/opscode/test-kitchen.git", :branch => '1.0'
  10
+  gem 'kitchen-vagrant', :git => "git://github.com/opscode/kitchen-vagrant.git"
  11
+
  12
+  # Change .kitchen.yml's driver_plugin to ec2 and populate
  13
+  # .kitchen.local.yml's driver_config with aws auth data
  14
+  gem 'kitchen-ec2', :git => "git://github.com/opscode/kitchen-ec2.git"
  15
+end
6  Vagrantfile
... ...
@@ -0,0 +1,6 @@
  1
+require 'kitchen/vagrant'
  2
+require 'berkshelf/vagrant'
  3
+
  4
+Vagrant::Config.run do |config|
  5
+  Kitchen::Vagrant.define_vms(config)
  6
+end
3  test/kitchen/Kitchenfile
... ...
@@ -1,3 +0,0 @@
1  
-cookbook "couchdb" do
2  
-  runtimes []
3  
-end

0 notes on commit d32c4b3

Please sign in to comment.
Something went wrong with that request. Please try again.