Skip to content
This repository has been archived by the owner on Sep 19, 2020. It is now read-only.

Add 12.18.31 metadata and make it the default #508

Merged
merged 1 commit into from
Jan 31, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion chef_dsl_metadata/Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ chef_versions = [
'12.14.89',
'12.15.19',
'12.16.42',
'12.17.44'
'12.17.44',
'12.18.31'
]
chef_versions.each do |version|
appraise "chef_#{version}" do
Expand Down
7 changes: 5 additions & 2 deletions chef_dsl_metadata/README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
# Generating metadata for a specific chef version

- run 'bundle install' to install appraisal
- update Appraisals file with new chef version(s)
- run 'bundle exec appraisal install'. It will fail, but it will still generate the Gemfile
- run 'bundle exec appraisal chef_12.8.1 rake generate_chef_metadata' to generate json for that version of chef

# Generating metadata for all version of Chef

- run 'bundle install' to install appraisal
- update Appraisals file with new chef version(s)
- run 'appraisal' to generate the gemfiles for all the chef versions
- run 'appraisal rake generate_chef_metadata' to generate the json for all the chef versions
- run 'bundle exec appraisal' to generate the gemfiles for all the chef versions
- run 'bundle exec appraisal rake generate_chef_metadata' to generate the json for all the chef versions

## Notes

The Rakefile is not intended to be run directly without invoking appraisal to essentially bundle exec it against the correct gemfile.

Due to incompatibility between legacy Chef releases and modern Ruby releases, generating metadata for all versions of Chef will fail. You'll need generate metadata for specific releases, or comment out the older releases in the Appraisal file before generating metadata in bulk.
Loading