Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
chore: Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgon committed Oct 21, 2016
1 parent adcaaf6 commit 8fd017d
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .overcommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ PreCommit:
enabled: true
FixMe:
enabled: true
exclude:
- RELEASING.md
Foodcritic:
enabled: true
HardTabs:
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
<a name="1.1.0"></a>
# [1.1.0](https://github.com/ajgon/opsworks_ruby/compare/v1.0.0...v1.1.0) (2016-10-21)


### Bug Fixes

* Application deployment fix ([7ac4166](https://github.com/ajgon/opsworks_ruby/commit/7ac4166))


### BREAKING CHANGES

* node['applications'] becomes obsolete



<a name="1.0.0"></a>
# [1.0.0](https://github.com/ajgon/opsworks_ruby/compare/v0.8.0...v1.0.0) (2016-10-04)

Expand Down
67 changes: 67 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Releasing opsworks\_ruby

## Checklist

1. Make changes
1. Commit those changes
1. Make sure Travis turns green
1. Make sure Coverage remains 100%
1. Bump version in `package.json`
1. Bump version in `metadata.rb`
1. Bump version in `docs/source/config.py`
1. `conventional-changelog -p angular -i CHANGELOG.md -s`
1. Commit all the things with `chore: Version bump`
1. Tag version
1. Push
1. `knife cookbook site share opsworks_ruby Applications`

## Solving problems with knife

In case of trouble, check [Sharing Chef Cookbooks](http://fabiorehm.com/blog/2013/10/01/sharing-chef-cookbooks/)
article. Short version:

### WARNING: No knife configuration file found

```shell
$ knife cookbook site share opsworks_ruby Applications
WARNING: No knife configuration file found
ERROR: Chef::Exceptions::CookbookNotFoundInRepo: Cannot find a cookbook named dokku;
did you forget to add metadata to a cookbook? (http://wiki.opscode.com/display/chef/Metadata)
```

Solution:

```shell
% echo client_key \"#{ENV['HOME']}/.chef/client.pem\" >> ~/.chef/knife.rb
% cookbook_path \"#{ENV['HOME']}/Projects/cookbooks\" >> ~/.chef.knife.rb
```

### ERROR: Errno::EACCES: Permission denied - /var/chef

```shell
% knife cookbook site share opsworks_ruby Applications
ERROR: Errno::EACCES: Permission denied - /var/chef
```

Solution:

```shell
% sudo chown -R $USER /var/chef
```

### ERROR: Error uploading cookbook dokku to the Opscode Cookbook Site

```shell
% knife cookbook site share opsworks_ruby Applications
Generating metadata for dokku from /tmp/chef-opsworks_ruby-build20161021-18021-ypq6jp/opsworks_ruby/metadata.rb
Making tarball dokku.tgz
ERROR: Error uploading cookbook dokku to the Opscode Cookbook Site:
undefined method `strip' for nil:NilClass.
Set log level to debug (-l debug) for more information.`
```
Solution:
```shell
% echo node_name \"$USER\" >> ~/.chef/knife.rb
```
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
# built documents.
#
# The short X.Y version.
version = u'1.0.0'
version = u'1.1.0'
# The full version, including alpha/beta/rc tags.
release = u'1.0.0'
release = u'1.1.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
license 'MIT'
description 'Set of chef recipes for OpsWorks based Ruby projects'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.0.0'
version '1.1.0'

depends 'deployer'
depends 'ruby-ng'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opsworks_ruby",
"version": "1.0.0",
"version": "1.1.0",
"description": "Set of chef recipes for OpsWorks based Ruby projects.",
"dependencies": {},
"devDependencies": {
Expand Down

0 comments on commit 8fd017d

Please sign in to comment.