Skip to content

Commit

Permalink
[COOK-3311] Remove legacy TK. Cleanup. Run on Travis CI
Browse files Browse the repository at this point in the history
Signed-off-by: Seth Vargo <[email protected]>
  • Loading branch information
sethvargo committed Sep 5, 2013
1 parent cc76316 commit 3b0c42b
Show file tree
Hide file tree
Showing 11 changed files with 208 additions and 175 deletions.
47 changes: 16 additions & 31 deletions .kitchen.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,23 @@
---
driver_plugin: vagrant
driver_config:
require_chef_omnibus: true

platforms:
- name: ubuntu-12.04
driver_config:
box: opscode-ubuntu-12.04
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box
run_list:
- recipe[apt]
- name: ubuntu-10.04
driver_config:
box: opscode-ubuntu-10.04
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-10.04_provisionerless.box
run_list:
- recipe[apt]

- name: centos-6.4
driver_config:
box: opscode-centos-6.4
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box

- name: centos-5.9
driver_config:
box: opscode-centos-5.9
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_centos-5.9_provisionerless.box
- name: ubuntu-10.04
run_list:
- recipe[apt]
- name: ubuntu-12.10
run_list:
- recipe[apt]
- name: centos-6.4
- name: centos-5.9

suites:
- name: default
run_list:
- recipe[wordpress]
attributes:
mysql:
server_root_password: "Please-Dont-Use-In-Production"
server_debian_password: "Please-Dont-Use-In-Production"
server_repl_password: "Please-Dont-Use-In-Production"
- name: default
run_list:
- recipe[wordpress]
attributes:
mysql:
server_root_password: "Please-Dont-Use-In-Production"
server_debian_password: "Please-Dont-Use-In-Production"
server_repl_password: "Please-Dont-Use-In-Production"
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
rvm:
- 1.9.3
- 2.0.0
before_script:
- bundle exec berks install
bundler_args: --without integration
script: bundle exec strainer test --except kitchen
4 changes: 1 addition & 3 deletions Berksfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
site :opscode

metadata

group :integration do
cookbook "apt"
cookbook "yum"
cookbook 'apt', '~> 2.0'
end
75 changes: 36 additions & 39 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,42 @@
## v1.1.0
CHANGELOG
=========

This version updates support for test kitchen to version 1.0. See
TESTING.md
v1.1.0
------
- Added Test Kitchen 1.0

### Bug

- [COOK-1393]: wordpress recipe should use mysql::ruby to ensure ruby
extension is installed
Bug Fixes:
- [COOK-1393]: wordpress recipe should use mysql::ruby to ensure ruby extension is installed
- [COOK-2984]: wordpress cookbook has foodcritic failures

### Improvement

Improvements:
- [COOK-2661]: Allow downloads from other repos for wordpress install

## v1.0.0:

* [COOK-1127] - update defaults to latest version
* [COOK-1222] - support installing "latest" version
* [COOK-1271] - Wordpress cookbook generates new password on every
chef run

## v0.8.8:

* [COOK-826] - recipe doesn't quote password string

## v0.8.6:

* [COOK-534] - allow server_aliases to overridden by an attribute
* [COOK-799] - fixed disables .htaccess breaking permalink feature
* [COOK-820] - guard node.save with check for chef-solo in our cookbooks

## v0.8.4:

* [COOK-406] - wp-config.php.erb has wrong CRLF encoding
* Dropping explicit support for Red Hat platforms due to issues in php
and mysql cookbooks (COOK-603, COOK-672, COOK-816, COOK-679)

## v0.8.2:

* [COOK-435] Don't set the mysql root user password in wordpress cookbook
* [COOK-535] - recursively create the directory
* RHEL/CentOS/Fedora support (yeah!)
* cleaned up node attribute keys
* cleaned up README.md
v1.0.0:
-------
- [COOK-1127] - update defaults to latest version
- [COOK-1222] - support installing "latest" version
- [COOK-1271] - Wordpress cookbook generates new password on every chef run

v0.8.8
------
- [COOK-826] - recipe doesn't quote password string

v0.8.6
------
- [COOK-534] - allow server_aliases to overridden by an attribute
- [COOK-799] - fixed disables .htaccess breaking permalink feature
- [COOK-820] - guard node.save with check for chef-solo in our cookbooks

v0.8.4
------
- [COOK-406] - wp-config.php.erb has wrong CRLF encoding
- Dropping explicit support for Red Hat platforms due to issues in php and mysql cookbooks (COOK-603, COOK-672, COOK-816, COOK-679)

v0.8.2
------
- [COOK-435] Don't set the mysql root user password in wordpress cookbook
- [COOK-535] - recursively create the directory
- RHEL/CentOS/Fedora support (yeah!)
- cleaned up node attribute keys
- cleaned up README.md
29 changes: 0 additions & 29 deletions CONTRIBUTING

This file was deleted.

20 changes: 20 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Contribution Guidelines
=======================

If you would like to contribute to the Chef Wordpress cookbook,
you must open a ticket in [JIRA](http://tickets.opscode.com).

1. Create the ticket in the [COOK] (use "wordpress" for the component)
2. [Sign a CLA](http://wiki.opscode.com/display/chef/How+to+Contribute)

- Please do NOT modify the version number
- Please do NOT update the CHANGELOG

We will update the version number and CHANGELOG when we release a new version.

If a contribution adds new platforms or platform versions, indicate
such in the body of the commit message(s), and update the relevant
COOK ticket. When writing commit messages, it is helpful for others if
you indicate the COOK ticket. For example:

$ git commit -m '[COOK-1041] Updated pool resource to correctly delete.'
15 changes: 12 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
source :rubygems
source 'https://rubygems.org'

group :kitchen do
gem 'test-kitchen', '< 1.0'
gem 'chef', '~> 11.6'
gem 'berkshelf', '~> 2.0'

group :test do
gem 'foodcritic', '~> 2.2'
gem 'strainer', '~> 3.1'
end

group :integration do
gem 'test-kitchen', '~> 1.0.0.beta'
gem 'kitchen-vagrant', '~> 0.11'
end
Loading

0 comments on commit 3b0c42b

Please sign in to comment.