cookbook 'common_deploy', '~> 1.0.0'
common_deploy (15) Versions 1.0.0 Follow0
Common chef cookbook providing attribute driven application deployments
cookbook 'common_deploy', '~> 1.0.0', :supermarket
knife supermarket install common_deploy
knife supermarket download common_deploy
common_deploy cookbook
A cookbook which provides tools to help deploy simple applications in a standardized way via node attributes. This is designed to be used with PolicyFiles and the suite of common_*
cookbooks so that applications may be deployed without necessarily requiring a dedicated cookbook.
Warning: This cookbook is not yet ready for public consumption
Requirements
This cookbook requires Chef 12.7.0 or later.
Platform
Any
Attributes
Top Level
-
common_deploy
.default
: This provides the default attributes which will be used as the base to merge specific applications on top of. -
common_deploy
.*
: Each application will be configured within a self contained hash so as to ensure that all of it's required configurations are stored in one place. Below this level, key => hash pairs will exist to describe additional lwrps to generate.
Application Level
-
order
: The optional ordering in which we will deploy applications, defaults to 100. -
configuration
: A free-form hash used to provide more global attributes to templates. These will serve as the base onto which specific template variables will be merged.
Libraries
-
CommonDeploy::Applications
: A helper library providing the business logic behind how we iterate over applications and apply the default attributes.
Dependent cookbooks
common_attrs >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
common_deploy
v1.0.0
- Breaking Change
- Instead of creating releases as releases/$release_hash$ we create releases/$timestamp as to support re-deploying via force_deploy.
- Add a common_deploy_directory_copy resource which will copy the contents of one folder to another.
v0.3.2
- Resolve issue detecting broken symlinks
v0.3.0
- Bugfix: Remove extra newline in revision log
- Refactor release copy to ignore the .git folder
- Add new before_delete callback and refactor delete_releases
v0.2.2
- Bugfix
v0.2.1
- Add additional guards to the
cp
, purge and build resources to ensure that we can better survive rollbacks.
v0.2.0
- Remove template and repository resources which quite simply don't bring anything to the game in their current state. Needless wrappers are needless.
- Rename default revision action to install from deploy
- Rewrite CommonDeploy::Application library to streamline things
v0.1.10
- Bugfix issue with deployments
v0.1.9
- Add newline to the revisions file
v0.1.8
- Add after_updated callback to revision resource
v0.1.7
- Upgrade run helpers to use bash rather than execute and thus ensure that we support commands such as npm and rbenv that may otherwise have issues.
v0.1.6
- Do it more betterly
v0.1.5
- Bugfix helpers not creating when no block is provided
- Fix issue where SCM provider is not instantiating on older chefs
v0.1.4
- Rubocop fixes
- Stylistic updates
v0.1.3
- Added new revision resource
- Renamed resource files
v0.1.2
- Initial
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 failed this metric
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:643
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:645
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:659
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:661
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:672
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:674
FC067: Ensure at least one platform supported in metadata: common_deploy/metadata.rb:1
FC069: Ensure standardized license defined in metadata: common_deploy/metadata.rb:1
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:101
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:108
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:113
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:118
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:124
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:131
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:137
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:143
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:149
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:155
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:161
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:171
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:177
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:184
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:191
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:200
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:208
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:215
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:221
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:227
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:233
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:239
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:245
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:252
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 failed this metric
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:643
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:645
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:659
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:661
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:672
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:674
FC067: Ensure at least one platform supported in metadata: common_deploy/metadata.rb:1
FC069: Ensure standardized license defined in metadata: common_deploy/metadata.rb:1
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:101
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:108
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:113
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:118
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:124
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:131
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:137
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:143
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:149
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:155
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:161
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:171
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:177
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:184
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:191
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:200
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:208
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:215
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:221
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:227
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:233
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:239
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:245
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:252
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:645
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:659
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:661
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:672
FC022: Resource condition within loop may not behave as expected: common_deploy/resources/revision.rb:674
FC067: Ensure at least one platform supported in metadata: common_deploy/metadata.rb:1
FC069: Ensure standardized license defined in metadata: common_deploy/metadata.rb:1
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:101
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:108
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:113
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:118
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:124
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:131
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:137
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:143
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:149
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:155
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:161
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:171
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:177
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:184
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:191
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:200
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:208
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:215
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:221
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:227
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:233
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:239
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:245
FC117: Do not use kind_of in custom resource properties: common_deploy/resources/revision.rb:252
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number