This repository has been archived by the owner on Jan 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Requires Vagrant 1.1, test-kitchen 1.0.0.alpha.2 * Removes Vagrantfile (now handled by kitchen-vagrant 0.7.4+) * Remove Gemfile (no more Bundler \o/) * Add TESTING.md doc
- Loading branch information
Showing
5 changed files
with
70 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
driver_plugin: vagrant | ||
platforms: | ||
- name: debian-6 | ||
driver_config: | ||
box: opscode-debian-6 | ||
box_url: http://opscode-vm.s3.amazonaws.com/vagrant/opscode_debian-6.0.7_chef-11.2.0.box | ||
require_chef_omnibus: 11.4.0 | ||
- name: ubuntu-12.10 | ||
driver_config: | ||
box: canonical-ubuntu-12.10 | ||
box_url: http://cloud-images.ubuntu.com/vagrant/quantal/current/quantal-server-cloudimg-amd64-vagrant-disk1.box | ||
require_chef_omnibus: 11.4.0 | ||
- name: ubuntu-12.04 | ||
driver_config: | ||
box: canonical-ubuntu-12.04 | ||
box_url: http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box | ||
require_chef_omnibus: 11.4.0 | ||
- name: ubuntu-11.04 | ||
driver_config: | ||
box: opscode-ubuntu-11.04 | ||
box_url: http://opscode-vm.s3.amazonaws.com/vagrant/boxes/opscode-ubuntu-11.04.box | ||
require_chef_omnibus: 11.4.0 | ||
- name: ubuntu-10.04 | ||
driver_config: | ||
box: opscode-ubuntu-10.04 | ||
box_url: http://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-10.04_chef-11.2.0.box | ||
require_chef_omnibus: 11.4.0 | ||
- name: centos-6.3 | ||
driver_config: | ||
box: opscode-centos-6.3 | ||
box_url: http://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-6.3_chef-11.2.0.box | ||
require_chef_omnibus: 11.4.0 | ||
- name: centos-5.8 | ||
driver_config: | ||
box: opscode-centos-5.8 | ||
box_url: http://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-5.8_chef-11.2.0.box | ||
require_chef_omnibus: 11.4.0 | ||
suites: | ||
- name: default | ||
run_list: | ||
- recipe[build-essential] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
site :opscode | ||
|
||
metadata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
This cookbook includes support for running tests via Test Kitchen (1.0). This has some requirements. | ||
|
||
1. You must be using the Git repository, rather than the downloaded cookbook from the Chef Community Site. | ||
2. You must have Vagrant 1.1 installed. | ||
3. You must have a "sane" Ruby 1.9.3 environment. | ||
|
||
Once the above requirements are met, install the additional requirements: | ||
|
||
Install the berkshelf plugin for vagrant, and berkshelf to your local Ruby environment. | ||
|
||
vagrant plugin install berkshelf-vagrant | ||
gem install berkshelf | ||
|
||
Install Test Kitchen 1.0 (unreleased yet, use the alpha / prerelease version). | ||
|
||
gem install test-kitchen --pre | ||
|
||
Install the Vagrant driver for Test Kitchen. | ||
|
||
gem install kitchen-vagrant | ||
|
||
Once the above are installed, you should be able to run Test Kitchen: | ||
|
||
kitchen list | ||
kitchen test |
This file was deleted.
Oops, something went wrong.