test-kitchen 1.23.3 → 1.23.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kitchen/version.rb +1 -1
- data/support/chef-client-zero.rb +1 -1
- metadata +5 -324
- data/.gitattributes +0 -3
- data/.github/ISSUE_TEMPLATE.md +0 -56
- data/.github/lock.yml +0 -1
- data/.gitignore +0 -38
- data/.gitmodules +0 -0
- data/.kitchen.appveyor.yml +0 -25
- data/.kitchen.dokken.yml +0 -31
- data/.kitchen.proxy.yml +0 -27
- data/.rubocop.yml +0 -5
- data/.travis.yml +0 -57
- data/.yardopts +0 -3
- data/Berksfile +0 -3
- data/CHANGELOG.md +0 -1510
- data/CONTRIBUTING.md +0 -14
- data/ECOSYSTEM.md +0 -93
- data/Gemfile +0 -40
- data/Gemfile.proxy_tests +0 -4
- data/Guardfile +0 -42
- data/MAINTAINERS.md +0 -29
- data/README.md +0 -138
- data/RELEASE_NOTES.md +0 -167
- data/Rakefile +0 -77
- data/appveyor.yml +0 -47
- data/docs/CONTRIBUTING.md +0 -8
- data/docs/LICENSE +0 -22
- data/docs/README.md +0 -78
- data/docs/archetypes/default.md +0 -6
- data/docs/config.toml +0 -36
- data/docs/content/docs/_index.md +0 -5
- data/docs/content/docs/drivers/_index.md +0 -27
- data/docs/content/docs/drivers/azurerm.md +0 -44
- data/docs/content/docs/drivers/vagrant.md +0 -39
- data/docs/content/docs/getting-started/00-introduction.md +0 -14
- data/docs/content/docs/getting-started/01-installing.md +0 -64
- data/docs/content/docs/getting-started/02-getting-help.md +0 -59
- data/docs/content/docs/getting-started/03-creating-cookbook.md +0 -46
- data/docs/content/docs/getting-started/04-kitchen-yml.md +0 -56
- data/docs/content/docs/getting-started/05-instances.md +0 -79
- data/docs/content/docs/getting-started/06-writing-recipe.md +0 -21
- data/docs/content/docs/getting-started/07-running-converge.md +0 -134
- data/docs/content/docs/getting-started/08-manually-verifying.md +0 -55
- data/docs/content/docs/getting-started/09-writing-test.md +0 -49
- data/docs/content/docs/getting-started/10-running-verify.md +0 -120
- data/docs/content/docs/getting-started/11-running-test.md +0 -168
- data/docs/content/docs/getting-started/12-adding-platform.md +0 -206
- data/docs/content/docs/getting-started/13-adding-feature.md +0 -30
- data/docs/content/docs/getting-started/14-adding-suite.md +0 -60
- data/docs/content/docs/getting-started/15-adding-test.md +0 -66
- data/docs/content/docs/getting-started/16-adding-recipe.md +0 -53
- data/docs/content/docs/getting-started/17-excluding-platforms.md +0 -101
- data/docs/content/docs/getting-started/18-next-steps.md +0 -23
- data/docs/content/docs/getting-started/_index.md +0 -5
- data/docs/content/docs/provisioners/_index.md +0 -36
- data/docs/content/docs/provisioners/chef.md +0 -69
- data/docs/content/docs/provisioners/shell.md +0 -31
- data/docs/content/docs/reference/_index.md +0 -5
- data/docs/content/docs/reference/configuration.md +0 -53
- data/docs/content/docs/reference/examples.md +0 -97
- data/docs/content/docs/reference/faq.md +0 -58
- data/docs/content/docs/reference/fixtures.md +0 -32
- data/docs/content/docs/reference/glossary.md +0 -34
- data/docs/content/docs/reference/lifecycle-hooks.md +0 -68
- data/docs/content/docs/reference/reboots.md +0 -24
- data/docs/content/docs/verifiers/_index.md +0 -14
- data/docs/content/docs/verifiers/inspec.md +0 -44
- data/docs/content/docs/verifiers/serverspec.md +0 -20
- data/docs/static/images/chef-logo.png +0 -0
- data/docs/static/images/chef-logo.svg +0 -1
- data/docs/static/images/github-banner.png +0 -0
- data/docs/static/images/github-banner.svg +0 -71
- data/docs/static/images/kitchen-logo.png +0 -0
- data/docs/static/images/logo-block.svg +0 -222
- data/docs/static/images/logo.png +0 -0
- data/docs/static/images/logos-group.png +0 -0
- data/docs/static/images/terminal-1.png +0 -0
- data/docs/static/images/terminal-1.svg +0 -589
- data/docs/static/images/terminal-2.png +0 -0
- data/docs/static/images/terminal-2.svg +0 -235
- data/docs/static/images/terminal-3.png +0 -0
- data/docs/static/images/terminal-3.svg +0 -439
- data/docs/static/index.html +0 -59
- data/docs/static/javascripts/all.js +0 -348
- data/docs/static/javascripts/vendor/foundation.min.js +0 -4
- data/docs/static/javascripts/vendor/jquery.min.js +0 -5
- data/docs/static/javascripts/vendor/what-input.js +0 -336
- data/docs/static/stylesheets/site.css +0 -4667
- data/docs/themes/kitchen/layouts/_default/baseof.html +0 -53
- data/docs/themes/kitchen/layouts/_default/list.html +0 -4
- data/docs/themes/kitchen/layouts/_default/redirect.html +0 -10
- data/docs/themes/kitchen/layouts/_default/single.html +0 -6
- data/docs/themes/kitchen/layouts/partials/core/head.html +0 -6
- data/docs/themes/kitchen/layouts/partials/kitchen/footer.html +0 -18
- data/docs/themes/kitchen/layouts/partials/kitchen/head.html +0 -4
- data/docs/themes/kitchen/layouts/partials/kitchen/header.html +0 -26
- data/docs/themes/kitchen/layouts/partials/search-docs.html +0 -3
- data/docs/themes/kitchen/layouts/partials/sidebar.html +0 -33
- data/docs/themes/kitchen/layouts/shortcodes/button.html +0 -1
- data/docs/themes/kitchen/layouts/shortcodes/codeblock.html +0 -8
- data/docs/themes/kitchen/layouts/shortcodes/cta.html +0 -5
- data/docs/themes/kitchen/layouts/shortcodes/danger.html +0 -1
- data/docs/themes/kitchen/layouts/shortcodes/example_fqdn.html +0 -1
- data/docs/themes/kitchen/layouts/shortcodes/info.html +0 -1
- data/docs/themes/kitchen/layouts/shortcodes/ol-styled.html +0 -3
- data/docs/themes/kitchen/layouts/shortcodes/success.html +0 -1
- data/docs/themes/kitchen/layouts/shortcodes/tip.html +0 -1
- data/docs/themes/kitchen/layouts/shortcodes/warning.html +0 -1
- data/docs/themes/kitchen/static/css/kitchen.css +0 -10
- data/docs/themes/kitchen/static/css/kitchen.css.map +0 -7
- data/docs/themes/kitchen/static/fonts/Muli-Bold.ttf +0 -0
- data/docs/themes/kitchen/static/fonts/Muli-Regular.ttf +0 -0
- data/docs/themes/kitchen/static/fonts/Muli-SemiBold.ttf +0 -0
- data/docs/themes/kitchen/static/fonts/fontawesome/fa-brands-400.eot +0 -0
- data/docs/themes/kitchen/static/fonts/fontawesome/fa-brands-400.svg +0 -1104
- data/docs/themes/kitchen/static/fonts/fontawesome/fa-brands-400.ttf +0 -0
- data/docs/themes/kitchen/static/fonts/fontawesome/fa-brands-400.woff +0 -0
- data/docs/themes/kitchen/static/fonts/fontawesome/fa-brands-400.woff2 +0 -0
- data/docs/themes/kitchen/static/fonts/fontawesome/fa-regular-400.eot +0 -0
- data/docs/themes/kitchen/static/fonts/fontawesome/fa-regular-400.svg +0 -372
- data/docs/themes/kitchen/static/fonts/fontawesome/fa-regular-400.ttf +0 -0
- data/docs/themes/kitchen/static/fonts/fontawesome/fa-regular-400.woff +0 -0
- data/docs/themes/kitchen/static/fonts/fontawesome/fa-regular-400.woff2 +0 -0
- data/docs/themes/kitchen/static/fonts/fontawesome/fa-solid-900.eot +0 -0
- data/docs/themes/kitchen/static/fonts/fontawesome/fa-solid-900.svg +0 -1896
- data/docs/themes/kitchen/static/fonts/fontawesome/fa-solid-900.ttf +0 -0
- data/docs/themes/kitchen/static/fonts/fontawesome/fa-solid-900.woff +0 -0
- data/docs/themes/kitchen/static/fonts/fontawesome/fa-solid-900.woff2 +0 -0
- data/docs/themes/kitchen/static/images/chef-logo-light.svg +0 -36
- data/docs/themes/kitchen/static/images/chef-logo-white.svg +0 -38
- data/docs/themes/kitchen/static/images/chef-logo.svg +0 -37
- data/docs/themes/kitchen/static/images/favicon.ico +0 -0
- data/docs/themes/kitchen/static/js/scripts-all.js +0 -7
- data/docs/themes/kitchen/static/js/source/chef-hugo.js +0 -116
- data/docs/themes/kitchen/static/js/source/omnitruck.js +0 -82
- data/docs/themes/kitchen/static/js/source/segment.js +0 -52
- data/docs/themes/kitchen/static/sass/_buttons.scss +0 -161
- data/docs/themes/kitchen/static/sass/_core.scss +0 -24
- data/docs/themes/kitchen/static/sass/_forms.scss +0 -14
- data/docs/themes/kitchen/static/sass/_mixins.scss +0 -133
- data/docs/themes/kitchen/static/sass/_typography.scss +0 -34
- data/docs/themes/kitchen/static/sass/_variables.scss +0 -82
- data/docs/themes/kitchen/static/sass/kitchen.scss +0 -7
- data/docs/themes/kitchen/static/sass/kitchen/_footer.scss +0 -50
- data/docs/themes/kitchen/static/sass/kitchen/_header.scss +0 -187
- data/docs/themes/kitchen/static/sass/kitchen/_homepage.scss +0 -27
- data/docs/themes/kitchen/static/sass/kitchen/_utility-bar.scss +0 -173
- data/docs/themes/kitchen/static/sass/partials/_alerts.scss +0 -32
- data/docs/themes/kitchen/static/sass/partials/_bg.scss +0 -19
- data/docs/themes/kitchen/static/sass/partials/_blurbs.scss +0 -25
- data/docs/themes/kitchen/static/sass/partials/_callout.scss +0 -15
- data/docs/themes/kitchen/static/sass/partials/_cards.scss +0 -54
- data/docs/themes/kitchen/static/sass/partials/_dropdown.scss +0 -77
- data/docs/themes/kitchen/static/sass/partials/_grid.scss +0 -87
- data/docs/themes/kitchen/static/sass/partials/_padding.scss +0 -73
- data/docs/themes/kitchen/static/sass/partials/_sidebar.scss +0 -71
- data/docs/themes/kitchen/static/sass/partials/_tabs.scss +0 -125
- data/docs/themes/kitchen/static/sass/typography/_chroma.scss +0 -366
- data/docs/themes/kitchen/static/sass/typography/_code.scss +0 -72
- data/docs/themes/kitchen/static/sass/typography/_headers.scss +0 -90
- data/docs/themes/kitchen/static/sass/typography/_links.scss +0 -127
- data/docs/themes/kitchen/static/sass/typography/_lists.scss +0 -155
- data/docs/themes/kitchen/static/sass/typography/_prose.scss +0 -29
- data/docs/themes/kitchen/static/sass/typography/_text.scss +0 -221
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/_animated.scss +0 -20
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/_bordered-pulled.scss +0 -20
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/_core.scss +0 -16
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/_fixed-width.scss +0 -6
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/_icons.scss +0 -992
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/_larger.scss +0 -23
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/_list.scss +0 -18
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/_mixins.scss +0 -57
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/_rotated-flipped.scss +0 -23
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/_screen-reader.scss +0 -5
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/_stacked.scss +0 -31
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/_variables.scss +0 -1005
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/fa-brands.scss +0 -21
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/fa-regular.scss +0 -22
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/fa-solid.scss +0 -23
- data/docs/themes/kitchen/static/sass/vendor/fontawesome/fontawesome.scss +0 -16
- data/docs/themes/kitchen/theme.toml +0 -8
- data/features/kitchen_action_commands.feature +0 -164
- data/features/kitchen_command.feature +0 -16
- data/features/kitchen_console_command.feature +0 -35
- data/features/kitchen_defaults.feature +0 -38
- data/features/kitchen_diagnose_command.feature +0 -96
- data/features/kitchen_help_command.feature +0 -16
- data/features/kitchen_init_command.feature +0 -254
- data/features/kitchen_list_command.feature +0 -140
- data/features/kitchen_login_command.feature +0 -62
- data/features/kitchen_sink_command.feature +0 -30
- data/features/kitchen_test_command.feature +0 -88
- data/features/step_definitions/gem_steps.rb +0 -24
- data/features/step_definitions/git_steps.rb +0 -5
- data/features/step_definitions/output_steps.rb +0 -5
- data/features/support/env.rb +0 -74
- data/spec/kitchen/base64_stream_spec.rb +0 -74
- data/spec/kitchen/cli_spec.rb +0 -54
- data/spec/kitchen/collection_spec.rb +0 -76
- data/spec/kitchen/color_spec.rb +0 -51
- data/spec/kitchen/config_spec.rb +0 -434
- data/spec/kitchen/configurable_spec.rb +0 -1113
- data/spec/kitchen/data_munger_spec.rb +0 -2800
- data/spec/kitchen/diagnostic_spec.rb +0 -128
- data/spec/kitchen/driver/base_spec.rb +0 -132
- data/spec/kitchen/driver/dummy_spec.rb +0 -193
- data/spec/kitchen/driver/exec_spec.rb +0 -75
- data/spec/kitchen/driver/proxy_spec.rb +0 -127
- data/spec/kitchen/driver/ssh_base_spec.rb +0 -1136
- data/spec/kitchen/driver_spec.rb +0 -106
- data/spec/kitchen/errors_spec.rb +0 -317
- data/spec/kitchen/instance_spec.rb +0 -1372
- data/spec/kitchen/lazy_hash_spec.rb +0 -113
- data/spec/kitchen/lifecycle_hooks_spec.rb +0 -171
- data/spec/kitchen/loader/yaml_spec.rb +0 -787
- data/spec/kitchen/logger_spec.rb +0 -425
- data/spec/kitchen/logging_spec.rb +0 -56
- data/spec/kitchen/login_command_spec.rb +0 -67
- data/spec/kitchen/metadata_chopper_spec.rb +0 -79
- data/spec/kitchen/platform_spec.rb +0 -88
- data/spec/kitchen/provisioner/base_spec.rb +0 -393
- data/spec/kitchen/provisioner/chef/policyfile_spec.rb +0 -140
- data/spec/kitchen/provisioner/chef_apply_spec.rb +0 -131
- data/spec/kitchen/provisioner/chef_base_spec.rb +0 -1565
- data/spec/kitchen/provisioner/chef_solo_spec.rb +0 -602
- data/spec/kitchen/provisioner/chef_zero_spec.rb +0 -1013
- data/spec/kitchen/provisioner/dummy_spec.rb +0 -96
- data/spec/kitchen/provisioner/shell_spec.rb +0 -623
- data/spec/kitchen/provisioner_spec.rb +0 -101
- data/spec/kitchen/shell_out_spec.rb +0 -146
- data/spec/kitchen/ssh_spec.rb +0 -584
- data/spec/kitchen/state_file_spec.rb +0 -122
- data/spec/kitchen/suite_spec.rb +0 -61
- data/spec/kitchen/transport/base_spec.rb +0 -140
- data/spec/kitchen/transport/exec_spec.rb +0 -79
- data/spec/kitchen/transport/ssh_spec.rb +0 -1317
- data/spec/kitchen/transport/winrm_spec.rb +0 -1320
- data/spec/kitchen/transport_spec.rb +0 -106
- data/spec/kitchen/util_spec.rb +0 -250
- data/spec/kitchen/verifier/base_spec.rb +0 -346
- data/spec/kitchen/verifier/busser_spec.rb +0 -580
- data/spec/kitchen/verifier/dummy_spec.rb +0 -96
- data/spec/kitchen/verifier/shell_spec.rb +0 -157
- data/spec/kitchen/verifier_spec.rb +0 -114
- data/spec/kitchen_spec.rb +0 -112
- data/spec/spec_helper.rb +0 -110
- data/spec/support/powershell_max_size_spec.rb +0 -39
- data/test-kitchen.gemspec +0 -49
- data/test/cookbooks/test_cookbook/metadata.rb +0 -6
- data/test/cookbooks/test_cookbook/recipes/default.rb +0 -1
- data/test/integration/default/default_spec.rb +0 -3
- data/testing_windows.md +0 -38
data/CONTRIBUTING.md
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
# Release Process
|
2
|
-
|
3
|
-
This release process applies to all Test Kitchen projects, but each project may have additional requirements.
|
4
|
-
|
5
|
-
1. Perform a Github diff between master and the last released version. Determine whether included PRs justify a patch, minor or major version release.
|
6
|
-
2. Check out the master branch of the project being prepared for release.
|
7
|
-
3. Branch into a release-branch of the form `150_release_prep`.
|
8
|
-
4. Modify the `version.rb` file to specify the version for releasing.
|
9
|
-
5. Run `rake changelog` to regenerate the changelog.
|
10
|
-
6. `git commit` the `version.rb` and `CHANGELOG.md` changes to the branch and setup a PR for them. Allow the PR to run any automated tests and review the CHANGELOG for accuracy.
|
11
|
-
7. Merge the PR to master after review.
|
12
|
-
8. Switch your local copy to the master branch and `git pull` to pull in the release preparation changes.
|
13
|
-
9. Run `rake release` on the master branch.
|
14
|
-
10. Modify the `version.rb` file and bump the patch or minor version, and commit/push.
|
data/ECOSYSTEM.md
DELETED
@@ -1,93 +0,0 @@
|
|
1
|
-
# Community and Ecosystem plugins
|
2
|
-
|
3
|
-
Here is collection of possible extensions to the base test-kitchen application:
|
4
|
-
|
5
|
-
The following are in the test-kitchen organization
|
6
|
-
|
7
|
-
[kitchen-ec2][ec2] | [kitchen-digitalocean][do] | [kitchen-openstack][open] | [kitchen-rackspace][rs] | [kitchen-google][google] | [kitchen-vagrant][vagrant]
|
8
|
-
---- | ---- | ---- | ---- | ---- | ----
|
9
|
-
[![Status](https://travis-ci.org/test-kitchen/kitchen-ec2.svg?branch=master)](https://travis-ci.org/test-kitchen/kitchen-ec2)| [![Status](https://travis-ci.org/test-kitchen/kitchen-digitalocean.svg?branch=master)](https://travis-ci.org/test-kitchen/kitchen-digitalocean) | [![Status](https://travis-ci.org/test-kitchen/kitchen-openstack.svg?branch=master)](https://travis-ci.org/test-kitchen/kitchen-openstack) | [![Status](https://travis-ci.org/test-kitchen/kitchen-rackspace.svg?branch=master)](https://travis-ci.org/test-kitchen/kitchen-rackspace) | [![Status](https://travis-ci.org/test-kitchen/kitchen-google.svg?branch=master)](https://travis-ci.org/test-kitchen/kitchen-google) | [![Status](https://travis-ci.org/test-kitchen/kitchen-vagrant.svg?branch=master)](https://travis-ci.org/test-kitchen/kitchen-vagrant)
|
10
|
-
[![Gem Version](https://badge.fury.io/rb/kitchen-ec2.svg)](http://badge.fury.io/rb/kitchen-ec2) | [![Gem Version](https://badge.fury.io/rb/kitchen-digitalocean.svg)](http://badge.fury.io/rb/kitchen-digitalocean) | [![Gem Version](https://badge.fury.io/rb/kitchen-openstack.svg)](http://badge.fury.io/rb/kitchen-openstack) | [![Gem Version](https://badge.fury.io/rb/kitchen-rackspace.svg)](http://badge.fury.io/rb/kitchen-rackspace) | [![Gem Version](https://badge.fury.io/rb/kitchen-google.svg)](http://badge.fury.io/rb/kitchen-google) | [![Gem Version](https://badge.fury.io/rb/kitchen-vagrant.svg)](http://badge.fury.io/rb/kitchen-vagrant)
|
11
|
-
|
12
|
-
[kitchen-dsc][dsc] | [kitchen-pester][pester] | [kitchen-joyent][joyent] | [kitchen-opennebula][opennebula] | [kitchen-hyperv][hyperv] | [kitchen-cloudstack][cloudstack] |
|
13
|
-
---- | ---- | ---- | ---- | ---- | ---- |
|
14
|
-
[![Status](https://travis-ci.org/test-kitchen/kitchen-dsc.svg?branch=master)](https://travis-ci.org/test-kitchen/kitchen-dsc)| [![Status](https://travis-ci.org/test-kitchen/kitchen-pester.svg?branch=master)](https://travis-ci.org/test-kitchen/kitchen-pester) | [![Status](https://travis-ci.org/test-kitchen/kitchen-joyent.svg?branch=master)](https://travis-ci.org/test-kitchen/kitchen-joyent) | [![Status](https://travis-ci.org/test-kitchen/kitchen-opennebula.svg?branch=master)](https://travis-ci.org/test-kitchen/kitchen-opennebula) | [![Status](https://travis-ci.org/test-kitchen/kitchen-hyperv.svg?branch=master)](https://travis-ci.org/test-kitchen/kitchen-hyperv) | [![Status](https://travis-ci.org/test-kitchen/kitchen-cloudstack.svg?branch=master)](https://travis-ci.org/test-kitchen/kitchen-cloudstack)
|
15
|
-
[![Gem Version](https://badge.fury.io/rb/kitchen-dsc.svg)](http://badge.fury.io/rb/kitchen-dsc) | [![Gem Version](https://badge.fury.io/rb/kitchen-pester.svg)](http://badge.fury.io/rb/kitchen-pester) | [![Gem Version](https://badge.fury.io/rb/kitchen-joyent.svg)](http://badge.fury.io/rb/kitchen-joyent) | [![Gem Version](https://badge.fury.io/rb/kitchen-opennebula.svg)](http://badge.fury.io/rb/kitchen-opennebula) | [![Gem Version](https://badge.fury.io/rb/kitchen-hyperv.svg)](http://badge.fury.io/rb/kitchen-hyperv) | [![Gem Version](https://badge.fury.io/rb/kitchen-cloudstack.svg)](http://badge.fury.io/rb/kitchen-cloudstack)
|
16
|
-
|
17
|
-
The following are written by the [chef][chef] company.
|
18
|
-
|
19
|
-
[kitchen-appbundle-updater][appbundle-updater] | [kitchen-inspec][inspec]
|
20
|
-
---- | ---- |
|
21
|
-
[![Status](https://travis-ci.org/chef/kitchen-appbundle-updater.svg?branch=master)](https://travis-ci.org/chef/kitchen-appbundle-updater)| [![Status](https://travis-ci.org/chef/kitchen-inspec.svg?branch=master)](https://travis-ci.org/chef/kitchen-inspec) |
|
22
|
-
[![Gem Version](https://badge.fury.io/rb/kitchen-appbundle-updater.svg)](http://badge.fury.io/rb/kitchen-appbundle-updater) | [![Gem Version](https://badge.fury.io/rb/kitchen-inspec.svg)](http://badge.fury.io/rb/kitchen-inspec) |
|
23
|
-
|
24
|
-
[kitchen-vra][vra] | [kitchen-vro][vro] | [kitchen-vcair][vcair] | [kitchen-oraclecloud][oracle] | [kitchen-ssh-cisco][sadpanda] | [kitchen-vcenter][vcenter]
|
25
|
-
---- | ---- | ---- | ---- | ---- | ---- |
|
26
|
-
[![Status](https://travis-ci.org/chef-partners/kitchen-vra.svg?branch=master)](https://travis-ci.org/chef-partners/kitchen-vra)| [![Status](https://travis-ci.org/chef-partners/kitchen-vro.svg?branch=master)](https://travis-ci.org/chef-partners/kitchen-vro) | [![Status](https://travis-ci.org/chef-partners/kitchen-vcair.svg?branch=master)](https://travis-ci.org/chef-partners/kitchen-vcair) | [![Status](https://travis-ci.org/chef-partners/kitchen-oraclecloud.svg?branch=master)](https://travis-ci.org/chef-partners/kitchen-oraclecloud) | [![Status](https://travis-ci.org/chef-partners/kitchen-ssh-cisco.svg?branch=master)](https://travis-ci.org/chef-partners/kitchen-ssh-cisco) | [![Status](https://travis-ci.org/chef/kitchen-vcenter.svg?branch=master)](https://travis-ci.org/chef/kitchen-vcenter)
|
27
|
-
[![Gem Version](https://badge.fury.io/rb/kitchen-vra.svg)](http://badge.fury.io/rb/kitchen-vra) | [![Gem Version](https://badge.fury.io/rb/kitchen-vro.svg)](http://badge.fury.io/rb/kitchen-vro) | [![Gem Version](https://badge.fury.io/rb/kitchen-vcair.svg)](http://badge.fury.io/rb/kitchen-vcair) | [![Gem Version](https://badge.fury.io/rb/kitchen-oraclecloud.svg)](http://badge.fury.io/rb/kitchen-oraclecloud) | [![Gem Version](https://badge.fury.io/rb/kitchen-ssh-cisco.svg)](http://badge.fury.io/rb/kitchen-ssh-cisco) | [![Gem Version](https://badge.fury.io/rb/kitchen-vcenter.svg)](http://badge.fury.io/rb/kitchen-vcenter)
|
28
|
-
|
29
|
-
The following are community driven plugins.
|
30
|
-
|
31
|
-
[kitchen-sync][sync] | [kitchen-ansible][ansible] | [kitchen-puppet][puppet] | [kitchen-salt][salt] | [kitchen-dokken][dokken] | [kitchen-lxc][lxc]
|
32
|
-
---- | ---- | ---- | ---- | ---- | ----
|
33
|
-
[![Status](https://travis-ci.org/coderanger/kitchen-sync.svg?branch=master)](https://travis-ci.org/coderanger/kitchen-sync)| [![Status](https://travis-ci.org/neillturner/kitchen-ansible.svg?branch=master)](https://travis-ci.org/neillturner/kitchen-ansible) | [![Status](https://travis-ci.org/neillturner/kitchen-puppet.svg?branch=master)](https://travis-ci.org/neillturner/kitchen-puppet) | [![Status](https://travis-ci.org/kitchen-salt/kitchen-salt.svg?branch=master)](https://travis-ci.org/kitchen-salt/kitchen-salt) | [![Status](https://travis-ci.org/someara/kitchen-dokken.svg?branch=master)](https://travis-ci.org/someara/kitchen-dokken) | [![Status](https://travis-ci.org/chrisroberts/kitchen-lxc.svg?branch=master)](https://travis-ci.org/chrisroberts/kitchen-lxc)
|
34
|
-
[![Gem Version](https://badge.fury.io/rb/kitchen-sync.svg)](http://badge.fury.io/rb/kitchen-sync) | [![Gem Version](https://badge.fury.io/rb/kitchen-ansible.svg)](http://badge.fury.io/rb/kitchen-ansible) | [![Gem Version](https://badge.fury.io/rb/kitchen-puppet.svg)](http://badge.fury.io/rb/kitchen-puppet) | [![Gem Version](https://badge.fury.io/rb/kitchen-salt.svg)](http://badge.fury.io/rb/kitchen-salt) | [![Gem Version](https://badge.fury.io/rb/kitchen-dokken.svg)](http://badge.fury.io/rb/kitchen-dokken) | [![Gem Version](https://badge.fury.io/rb/kitchen-lxc.svg)](http://badge.fury.io/rb/kitchen-lxc)
|
35
|
-
|
36
|
-
[kitchen-nodes][nodes] | [kitchen-zcloudjp][zcloudjp] | [kitchen-bluebox][bluebox] | [kitchen-softlayer][softlayer] | [kitchen-linode][linode] | [kitchen-docker][docker]
|
37
|
-
---- | ---- | ---- | ---- | ---- | ----
|
38
|
-
[![Status](https://travis-ci.org/mwrock/kitchen-nodes.svg?branch=master)](https://travis-ci.org/mwwrock/kitchen-nodes) | [![Status](https://travis-ci.org/higanworks/kitchen-zcloudjp.svg?branch=master)](https://travis-ci.org/higanworks/kitchen-zcloudjp) | [![Status](https://travis-ci.org/blueboxgroup/kitchen-bluebox.svg?branch=master)](https://travis-ci.org/blueboxgroup/kitchen-bluebox) | [![Status](https://travis-ci.org/neillturner/kitchen-softlayer.svg?branch=master)](https://travis-ci.org/neillturner/kitchen-softlayer) | [![Status](https://travis-ci.org/ssplatt/kitchen-linode.svg?branch=master)](https://travis-ci.org/ssplatt/kitchen-linode) | [![Status](https://travis-ci.org/ssplatt/kitchen-docker.svg?branch=master)](https://travis-ci.org/portertech/kitchen-docker)
|
39
|
-
[![Gem Version](https://badge.fury.io/rb/kitchen-nodes.svg)](http://badge.fury.io/rb/kitchen-nodes) | [![Gem Version](https://badge.fury.io/rb/kitchen-zcloudjp.svg)](http://badge.fury.io/rb/kitchen-zcloudjp) | [![Gem Version](https://badge.fury.io/rb/kitchen-bluebox.svg)](http://badge.fury.io/rb/kitchen-bluebox) | [![Gem Version](https://badge.fury.io/rb/kitchen-softlayer.svg)](http://badge.fury.io/rb/kitchen-softlayer) | [![Gem Version](https://badge.fury.io/rb/kitchen-linode.svg)](http://badge.fury.io/rb/kitchen-linode) | [![Gem Version](https://badge.fury.io/rb/kitchen-docker.svg)](http://badge.fury.io/rb/kitchen-docker)
|
40
|
-
|
41
|
-
[kitchen-qemu][qemu] | [kitchen-cfengine][cfengine] | [kitchen-cloudformation][cloudformation] | [kitchen-wpar][wpar] | [kitchen-powervc][powervc] | [kitchen-terraform][terraform]
|
42
|
-
---- | ---- | ---- | ---- | ---- | ----
|
43
|
-
[![Status](https://travis-ci.org/esmil/kitchen-qemu.svg?branch=master)](https://travis-ci.org/esmil/kitchen-qemu)| [![Status](https://travis-ci.org/nmische/kitchen-cfengine.svg?branch=master)](https://travis-ci.org/nmische/kitchen-cfengine) | [![Status](https://travis-ci.org/neillturner/kitchen-cloudformation.svg?branch=master)](https://travis-ci.org/neillturner/kitchen-cloudformation) | [![Status](https://travis-ci.org/adejoux/kitchen-wpar.svg?branch=master)](https://travis-ci.org/adejoux/kitchen-wpar) | [![Status](https://travis-ci.org/chmod666org/kitchen-powervc.svg?branch=master)](https://travis-ci.org/chmod666org/kitchen-powervc) | [![Status](https://travis-ci.org/newcontext-oss/kitchen-terraform.svg?branch=master)](https://travis-ci.org/newcontext-oss/kitchen-terraform)
|
44
|
-
[![Gem Version](https://badge.fury.io/rb/kitchen-qemu.svg)](http://badge.fury.io/rb/kitchen-qemu) | [![Gem Version](https://badge.fury.io/rb/kitchen-cfengine.svg)](http://badge.fury.io/rb/kitchen-cfengine) | [![Gem Version](https://badge.fury.io/rb/kitchen-cloudformation.svg)](http://badge.fury.io/rb/kitchen-cloudformation) | [![Gem Version](https://badge.fury.io/rb/kitchen-wpar.svg)](http://badge.fury.io/rb/kitchen-wpar) | [![Gem Version](https://badge.fury.io/rb/kitchen-powervc.svg)](http://badge.fury.io/rb/kitchen-powervc) | [![Gem Version](https://badge.fury.io/rb/kitchen-terraform.svg)](http://badge.fury.io/rb/kitchen-terraform)
|
45
|
-
|
46
|
-
[kitchen-azurerm][azurerm] | [kitchen-sparkleformation][sparkleformation]
|
47
|
-
---- | ----
|
48
|
-
[![Status](https://travis-ci.org/pendrica/kitchen-azurerm.svg?branch=master)](https://travis-ci.org/pendrica/kitchen-azurerm) | [![Status](https://travis-ci.org/devkid/kitchen-sparkleformation.svg?branch=master)](https://travis-ci.org/devkid/kitchen-sparkleformation)
|
49
|
-
[![Gem Version](https://badge.fury.io/rb/kitchen-azurerm.svg)](http://badge.fury.io/rb/kitchen-azurerm) | [![Gem Version](https://badge.fury.io/rb/kitchen-sparkleformation.svg)](http://badge.fury.io/rb/kitchen-sparkleformation)
|
50
|
-
|
51
|
-
|
52
|
-
[chefpartners]: https://github.com/chef-partners/
|
53
|
-
[ec2]: https://github.com/test-kitchen/kitchen-ec2
|
54
|
-
[do]: https://github.com/test-kitchen/kitchen-digitalocean
|
55
|
-
[open]: https://github.com/test-kitchen/kitchen-openstack
|
56
|
-
[rs]: https://github.com/test-kitchen/kitchen-rackspace
|
57
|
-
[google]: https://github.com/test-kitchen/kitchen-google
|
58
|
-
[vagrant]: https://github.com/test-kitchen/kitchen-vagrant
|
59
|
-
[dsc]: https://github.com/test-kitchen/kitchen-dsc
|
60
|
-
[pester]: https://github.com/test-kitchen/kitchen-pester
|
61
|
-
[joyent]: https://github.com/test-kitchen/kitchen-joyent
|
62
|
-
[opennebula]: https://github.com/test-kitchen/kitchen-opennebula
|
63
|
-
[hyperv]: https://github.com/test-kitchen/kitchen-hyperv
|
64
|
-
[cloudstack]: https://github.com/test-kitchen/kitchen-cloudstack
|
65
|
-
[vra]: https://github.com/chef-partners/kitchen-vra
|
66
|
-
[vro]: https://github.com/chef-partners/kitchen-vro
|
67
|
-
[vcenter]: https://github.com/chef/kitchen-vcenter
|
68
|
-
[vcair]: https://github.com/chef-partners/kitchen-vcair
|
69
|
-
[oracle]: https://github.com/chef-partners/kitchen-oraclecloud
|
70
|
-
[sadpanda]: https://github.com/chef-partners/kitchen-ssh-cisco
|
71
|
-
[sync]: https://github.com/coderanger/kitchen-sync
|
72
|
-
[ansible]: https://github.com/neillturner/kitchen-ansible
|
73
|
-
[puppet]: https://github.com/neillturner/kitchen-puppet
|
74
|
-
[salt]: https://github.com/kitchen-salt/kitchen-salt
|
75
|
-
[dokken]: https://github.com/someara/kitchen-dokken
|
76
|
-
[lxc]: https://github.com/chrisroberts/kitchen-lxc
|
77
|
-
[nodes]: https://github.com/mwrock/kitchen-nodes
|
78
|
-
[zcloudjp]: https://github.com/higanworks/kitchen-zcloudjp
|
79
|
-
[bluebox]: https://github.com/blueboxgroup/kitchen-bluebox
|
80
|
-
[softlayer]: https://github.com/neillturner/kitchen-softlayer
|
81
|
-
[linode]: https://github.com/ssplatt/kitchen-linode
|
82
|
-
[qemu]: https://github.com/esmil/kitchen-qemu
|
83
|
-
[cfengine]: https://github.com/nmische/kitchen-cfengine
|
84
|
-
[cloudformation]: https://github.com/neillturner/kitchen-cloudformation
|
85
|
-
[sparkleformation]: https://github.com/devkid/kitchen-sparkleformation
|
86
|
-
[wpar]: https://github.com/adejoux/kitchen-wpar
|
87
|
-
[powervc]: https://github.com/chmod666org/kitchen-powervc
|
88
|
-
[appbundle-updater]: https://github.com/chef/kitchen-appbundle-updater
|
89
|
-
[inspec]: https://github.com/chef/kitchen-inspec
|
90
|
-
[chef]: https://chef.io
|
91
|
-
[azurerm]: http://github.com/pendrica/kitchen-azurerm
|
92
|
-
[docker]: https://github.com/portertech/kitchen-docker
|
93
|
-
[terraform]: https://github.com/newcontext-oss/kitchen-terraform
|
data/Gemfile
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
source "https://rubygems.org"
|
3
|
-
gemspec
|
4
|
-
|
5
|
-
gem "train", "~> 0.22"
|
6
|
-
|
7
|
-
group :integration do
|
8
|
-
gem "berkshelf"
|
9
|
-
gem "kitchen-inspec"
|
10
|
-
gem "kitchen-dokken"
|
11
|
-
gem "kitchen-vagrant"
|
12
|
-
end
|
13
|
-
|
14
|
-
group :changelog do
|
15
|
-
gem "github_changelog_generator", "1.11.3"
|
16
|
-
end
|
17
|
-
|
18
|
-
group :debug do
|
19
|
-
gem "pry"
|
20
|
-
gem "pry-byebug"
|
21
|
-
gem "pry-stack_explorer"
|
22
|
-
end
|
23
|
-
|
24
|
-
group :chefstyle do
|
25
|
-
gem "chefstyle"
|
26
|
-
end
|
27
|
-
|
28
|
-
group :docs do
|
29
|
-
gem "yard"
|
30
|
-
end
|
31
|
-
|
32
|
-
instance_eval(ENV["GEMFILE_MOD"]) if ENV["GEMFILE_MOD"]
|
33
|
-
|
34
|
-
# To avoid bringing in development or test dependencies that are not
|
35
|
-
# absolutely needed, if you want to load tools not present in the gemspec
|
36
|
-
# or this Gemfile, add those additional dependencies into a Gemfile.local
|
37
|
-
# file which is ignored by this repository.
|
38
|
-
# rubocop:disable Security/Eval
|
39
|
-
eval(IO.read(__FILE__ + ".local"), binding) if File.exist?(__FILE__ + ".local")
|
40
|
-
# rubocop:enable Security/Eval
|
data/Gemfile.proxy_tests
DELETED
data/Guardfile
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
ignore %r{^\.gem/}
|
3
|
-
|
4
|
-
def rubocop_opts
|
5
|
-
{ all_on_start: false, keep_failed: false, cli: "-r finstyle" }
|
6
|
-
end
|
7
|
-
|
8
|
-
def cucumber_opts
|
9
|
-
cucumber_cli = "--no-profile --color --format progress --strict"
|
10
|
-
cucumber_cli += " --tags ~@spawn" if RUBY_PLATFORM =~ /mswin|mingw|windows/
|
11
|
-
|
12
|
-
{ all_on_start: false, cli: cucumber_cli }
|
13
|
-
end
|
14
|
-
|
15
|
-
def yard_opts
|
16
|
-
{ port: "8808" }
|
17
|
-
end
|
18
|
-
|
19
|
-
group :red_green_refactor, halt_on_fail: true do
|
20
|
-
guard :minitest do
|
21
|
-
watch(%r{^spec/(.*)_spec\.rb})
|
22
|
-
watch(%r{^lib/(.*)([^/]+)\.rb}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
|
23
|
-
watch(%r{^spec/spec_helper\.rb}) { "spec" }
|
24
|
-
end
|
25
|
-
|
26
|
-
guard :rubocop, rubocop_opts do
|
27
|
-
watch(/.+\.rb$/)
|
28
|
-
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
guard :cucumber, cucumber_opts do
|
33
|
-
watch(%r{^features/.+\.feature$})
|
34
|
-
watch(%r{^features/support/.+$}) { "features" }
|
35
|
-
watch(%r{^features/step_definitions/(.+)_steps\.rb$}) do |m|
|
36
|
-
Dir[File.join("**/#{m[1]}.feature")][0] || "features"
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
guard :yard, yard_opts do
|
41
|
-
watch(%r{lib/.+\.rb})
|
42
|
-
end
|
data/MAINTAINERS.md
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
# Maintainers
|
2
|
-
|
3
|
-
This file lists how the Test Kitchen project is maintained. When making changes
|
4
|
-
to the system, this file tells you who needs to review your patch. You need a :+1: vote
|
5
|
-
from at least 2 members of the project team listed below. Additionally, you need to not
|
6
|
-
receive a veto from the Lieutenant or the Project Lead.
|
7
|
-
|
8
|
-
## Project Lead
|
9
|
-
|
10
|
-
* [Fletcher Nichol](https://github.com/fnichol)
|
11
|
-
|
12
|
-
## Lieutenants
|
13
|
-
* [Tyler Ball](https://github.com/tyler-ball)
|
14
|
-
|
15
|
-
## Maintainers
|
16
|
-
|
17
|
-
* [Adam Leff](https://github.com/adamleff)
|
18
|
-
* [Chris Hartmann](https://github.com/chris-rock)
|
19
|
-
* [Jennifer Davis](https://github.com/iennae)
|
20
|
-
* [Kimball Johnson](https://github.com/drrk)
|
21
|
-
* [Lamont Granquist](https://github.com/lamont-granquist)
|
22
|
-
* [Matt Wrock](https://github.com/mwrock)
|
23
|
-
* [Noah Kantrowitz](https://github.com/coderanger)
|
24
|
-
* [Robb Kidd](https://github.com/robbkidd)
|
25
|
-
* [Sean Omeara](http://github.com/someara)
|
26
|
-
* [Seth Thomas](https://github.com/cheeseplus)
|
27
|
-
* [Steven Murawski](http://github.com/smurawski)
|
28
|
-
* [Salim Afiune](http://github.com/afiune)
|
29
|
-
* [Tim Smith](http://github.com/tas50)
|
data/README.md
DELETED
@@ -1,138 +0,0 @@
|
|
1
|
-
# Test Kitchen
|
2
|
-
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/test-kitchen.svg)](http://badge.fury.io/rb/test-kitchen)
|
4
|
-
[![Build Status](https://secure.travis-ci.org/test-kitchen/test-kitchen.svg?branch=master)](https://travis-ci.org/test-kitchen/test-kitchen)
|
5
|
-
|
6
|
-
| | |
|
7
|
-
| ----------- | --------------------------------------------------------------------------------|
|
8
|
-
| Website | [http://kitchen.ci][website] |
|
9
|
-
| Source Code | [http://kitchen.ci/docs/getting-started/][guide] |
|
10
|
-
| Slack | [#test-kitchen][slack] channel on Chef Community Slack, [transcript][slack_log] |
|
11
|
-
| Twitter | [@kitchenci][twitter] |
|
12
|
-
|
13
|
-
> **Test Kitchen is an integration tool for developing and testing
|
14
|
-
> infrastructure code and software on isolated target platforms.**
|
15
|
-
|
16
|
-
## Getting Started Guide
|
17
|
-
|
18
|
-
To learn how to install and setup Test Kitchen for developing infrastructure
|
19
|
-
code, check out the [Getting Started Guide][guide].
|
20
|
-
|
21
|
-
If you want to get going super fast, then try the Quick Start next...
|
22
|
-
|
23
|
-
## Quick Start
|
24
|
-
|
25
|
-
Test Kitchen is a RubyGem and can be installed with:
|
26
|
-
|
27
|
-
```
|
28
|
-
$ gem install test-kitchen
|
29
|
-
```
|
30
|
-
|
31
|
-
If you use Bundler, you can add `gem "test-kitchen"` to your Gemfile and make
|
32
|
-
sure to run `bundle install`.
|
33
|
-
|
34
|
-
Next add support to your library, Chef cookbook, or empty project with `kitchen
|
35
|
-
init`:
|
36
|
-
|
37
|
-
```
|
38
|
-
$ kitchen init
|
39
|
-
```
|
40
|
-
|
41
|
-
A `.kitchen.yml` will be created in your project base directory. This file
|
42
|
-
describes your testing configuration; what you want to test and on which target
|
43
|
-
platforms. Each of these suite and platform combinations are called instances.
|
44
|
-
By default your instances will be converged with Chef Solo and run in Vagrant
|
45
|
-
virtual machines.
|
46
|
-
|
47
|
-
Get a listing of your instances with:
|
48
|
-
|
49
|
-
```
|
50
|
-
$ kitchen list
|
51
|
-
```
|
52
|
-
|
53
|
-
Run Chef on an instance, in this case `default-ubuntu-1204`, with:
|
54
|
-
|
55
|
-
```
|
56
|
-
$ kitchen converge default-ubuntu-1204
|
57
|
-
```
|
58
|
-
|
59
|
-
Destroy all instances with:
|
60
|
-
|
61
|
-
```
|
62
|
-
$ kitchen destroy
|
63
|
-
```
|
64
|
-
|
65
|
-
You can clone a Chef cookbook project that contains Test Kitchen support and
|
66
|
-
run through all the instances in serial by running:
|
67
|
-
|
68
|
-
```
|
69
|
-
$ kitchen test
|
70
|
-
```
|
71
|
-
|
72
|
-
## Usage
|
73
|
-
|
74
|
-
There is help included with the `kitchen help` subcommand which will list all
|
75
|
-
subcommands and their usage:
|
76
|
-
|
77
|
-
```
|
78
|
-
$ kitchen help test
|
79
|
-
```
|
80
|
-
|
81
|
-
More verbose logging for test-kitchen can be specified when running test-kitchen from the command line using:
|
82
|
-
|
83
|
-
```
|
84
|
-
$ kitchen test -l debug
|
85
|
-
```
|
86
|
-
|
87
|
-
For the provisioner (e.g. chef-solo or chef-zero) add a `log_level` item to the provisioner section of the `.kitchen.yml`
|
88
|
-
For more information see the Documentation. This is a change since version 1.7.0
|
89
|
-
|
90
|
-
## Documentation
|
91
|
-
|
92
|
-
Documentation is being added on the Test Kitchen [website][website]. Please
|
93
|
-
read and contribute to improve them!
|
94
|
-
|
95
|
-
## Versioning
|
96
|
-
|
97
|
-
Test Kitchen aims to adhere to [Semantic Versioning 2.0.0][semver].
|
98
|
-
|
99
|
-
## Community and Ecosystem
|
100
|
-
|
101
|
-
If you would like to see a few of the plugins or ecosystem helpers, please look at [ECOSYSTEM.md][ecosystem].
|
102
|
-
|
103
|
-
## Development
|
104
|
-
|
105
|
-
* Source hosted at [GitHub][repo]
|
106
|
-
* Report issues/questions/feature requests on [GitHub Issues][issues]
|
107
|
-
|
108
|
-
Pull requests are very welcome! Make sure your patches are well tested.
|
109
|
-
Ideally create a topic branch for every separate change you make. For
|
110
|
-
example:
|
111
|
-
|
112
|
-
1. Fork the repo
|
113
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
114
|
-
3. Commit your changes (`git commit -am 'Added some feature'`)
|
115
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
116
|
-
5. Create new Pull Request
|
117
|
-
|
118
|
-
## Authors
|
119
|
-
|
120
|
-
Created and maintained by [Fletcher Nichol][fnichol] (<fnichol@nichol.ca>) and
|
121
|
-
a growing community of [contributors][contributors].
|
122
|
-
|
123
|
-
## License
|
124
|
-
|
125
|
-
Apache License, Version 2.0 (see [LICENSE][license])
|
126
|
-
|
127
|
-
[contributors]: https://github.com/test-kitchen/test-kitchen/graphs/contributors
|
128
|
-
[ecosystem]: https://github.com/test-kitchen/test-kitchen/blob/master/ECOSYSTEM.md
|
129
|
-
[fnichol]: https://github.com/fnichol
|
130
|
-
[guide]: http://kitchen.ci/docs/getting-started/
|
131
|
-
[issues]: https://github.com/test-kitchen/test-kitchen/issues
|
132
|
-
[license]: https://github.com/test-kitchen/test-kitchen/blob/master/LICENSE
|
133
|
-
[repo]: https://github.com/test-kitchen/test-kitchen
|
134
|
-
[semver]: http://semver.org/
|
135
|
-
[slack]: https://chefcommunity.slack.com/messages/testkitchen/details/
|
136
|
-
[slack_log]: https://chefcommunity.slackarchive.io/test-kitchen
|
137
|
-
[twitter]: https://twitter.com/kitchenci
|
138
|
-
[website]: http://kitchen.ci
|
data/RELEASE_NOTES.md
DELETED
@@ -1,167 +0,0 @@
|
|
1
|
-
# Test Kitchen 1.23.0 Release Notes
|
2
|
-
|
3
|
-
## Life Cycle Hooks
|
4
|
-
|
5
|
-
The life cycle hooks system allows running commands before or after any phase
|
6
|
-
of Test Kitchen (`create`, `converge`, `verify`, or `destroy`). Commands can be
|
7
|
-
run either locally on your workstation (the default) or remotely on the test instance.
|
8
|
-
|
9
|
-
These hooks are configured under a new `lifecycle:` section in `kitchen.yml`:
|
10
|
-
|
11
|
-
```yaml
|
12
|
-
lifecycle:
|
13
|
-
pre_create: echo before
|
14
|
-
post_create:
|
15
|
-
- echo after
|
16
|
-
- local: echo also after
|
17
|
-
- remote: echo after but in the instance
|
18
|
-
```
|
19
|
-
|
20
|
-
You can also configure hooks on a single platform or suite:
|
21
|
-
|
22
|
-
```yaml
|
23
|
-
platforms:
|
24
|
-
- name: ubuntu-18.04
|
25
|
-
lifecycle:
|
26
|
-
pre_converge:
|
27
|
-
- remote: apt update
|
28
|
-
|
29
|
-
suites:
|
30
|
-
- name: default
|
31
|
-
lifecycle:
|
32
|
-
post_verify:
|
33
|
-
- my_coverage_formatter
|
34
|
-
```
|
35
|
-
|
36
|
-
Local commands automatically get some environment variables with information
|
37
|
-
about which instance the hook is evaluating against:
|
38
|
-
|
39
|
-
* `KITCHEN_INSTANCE_NAME` - The full name of the instance
|
40
|
-
* `KITCHEN_SUITE_NAME` - The name of the suite of the instance
|
41
|
-
* `KITCHEN_PLATFORM_NAME` - The name of the platform of the instance
|
42
|
-
* `KITCHEN_INSTANCE_HOSTNAME` - The hostname of the instance as reported by the driver plugin
|
43
|
-
|
44
|
-
You can also pass additional configuration for local commands:
|
45
|
-
|
46
|
-
```yaml
|
47
|
-
lifecycle:
|
48
|
-
pre_converge:
|
49
|
-
- local: ./setup.sh
|
50
|
-
environment:
|
51
|
-
API_KEY: asdf1234
|
52
|
-
timeout: 60
|
53
|
-
```
|
54
|
-
|
55
|
-
Remote commands are normally not allowed during `pre_create` or `post_destroy`
|
56
|
-
hooks as there is generally no instance running at that point, but with `pre_destroy`
|
57
|
-
hooks you may want to use the `skippable` flag so as to not fail during `kitchen test`:
|
58
|
-
|
59
|
-
```yaml
|
60
|
-
lifecycle:
|
61
|
-
pre_destroy:
|
62
|
-
- remote: myapp --unregister-license
|
63
|
-
skippable: true
|
64
|
-
```
|
65
|
-
|
66
|
-
# Test Kitchen 1.21.0 Release Notes
|
67
|
-
|
68
|
-
## Configuration UX improvements
|
69
|
-
|
70
|
-
Having the kitchen configuration file be hidden has always been a bit odd and so we're moving to using `kitchen.yml` over `.kitchen.yml`.
|
71
|
-
This also applies to `kitchen.local.yml` and we've made the change backwards compatible so you're not forced to move over right away. Additionally, we've added support for the environment variables `KITCHEN_YML` and KITCHEN_LOCAL_YML` again preserving compatibility if you're using the `*_YAML` forms.
|
72
|
-
|
73
|
-
# Test Kitchen 1.20.0 Release Notes
|
74
|
-
|
75
|
-
## Multiple paths for data_bags
|
76
|
-
|
77
|
-
Allows a user to use data_bags from an array of directories
|
78
|
-
|
79
|
-
```
|
80
|
-
data_bags_path:
|
81
|
-
- 'data_bags'
|
82
|
-
- 'test/integrations/data_bags'
|
83
|
-
```
|
84
|
-
|
85
|
-
## Deprecation Warnings for Configuration Keys
|
86
|
-
|
87
|
-
```
|
88
|
-
$ kitchen list default-centos-7
|
89
|
-
$$$$$$ Deprecated configuration detected:
|
90
|
-
require_chef_omnibus
|
91
|
-
Run 'kitchen doctor' for details.
|
92
|
-
```
|
93
|
-
|
94
|
-
```
|
95
|
-
$ kitchen doctor
|
96
|
-
$$$$$$ Deprecated configuration detected:
|
97
|
-
require_chef_omnibus
|
98
|
-
Run 'kitchen doctor' for details.
|
99
|
-
|
100
|
-
-----> The doctor is in
|
101
|
-
**** require_chef_omnibus deprecated
|
102
|
-
The 'require_chef_omnibus' attribute with version values will change
|
103
|
-
to use the new 'product_version' attribute.
|
104
|
-
|
105
|
-
Note: 'product_name' must be set in order to use 'product_version'
|
106
|
-
until 'product_name' replaces 'require_chef_omnibus' as the default.
|
107
|
-
|
108
|
-
# New Usage #
|
109
|
-
provisioner:
|
110
|
-
product_name: <chef or chefdk>
|
111
|
-
product_version: 12.0.3
|
112
|
-
```
|
113
|
-
|
114
|
-
## SSH via an HTTP Proxy
|
115
|
-
|
116
|
-
This allows configuring the SSH transport to utilize an HTTP Proxy. The following configuration keys have been added to `transport`:
|
117
|
-
|
118
|
-
```
|
119
|
-
ssh_http_proxy_user
|
120
|
-
ssh_http_proxy_password
|
121
|
-
ssh_http_proxy_port
|
122
|
-
ssh_http_proxy
|
123
|
-
```
|
124
|
-
|
125
|
-
# Test Kitchen 1.20.0 Release Notes
|
126
|
-
|
127
|
-
## Driver Commands Removed
|
128
|
-
|
129
|
-
The `kitchen driver` family of commands have been removed. It was not recommended
|
130
|
-
to use them and it was judged to be more harm than good to leave them in. If you
|
131
|
-
regularly create new drivers and relied on the skeleton generator, check out
|
132
|
-
other code skeleton projects like [`chef generate`](https://blog.chef.io/2014/12/09/guest-post-creating-your-own-chef-cookbook-generator/),
|
133
|
-
and [Cookiecutter](https://github.com/audreyr/cookiecutter).
|
134
|
-
|
135
|
-
## `kitchen converge -D`
|
136
|
-
|
137
|
-
When you want to get debug logging for your provisioner or verifier, you can now
|
138
|
-
use the new `-D` (or `--debug`) command line option for `kitchen converge`,
|
139
|
-
`kitchen verify`, and `kitchen test`. Support has been added to the Chef provisioners,
|
140
|
-
avoiding the need to use the `log_level: debug` configuration option every time.
|
141
|
-
|
142
|
-
## `exec` Driver
|
143
|
-
|
144
|
-
A new driver named `exec` is included with Test Kitchen which runs all the
|
145
|
-
provisioning and verification commands locally, rather than on a VM. This can
|
146
|
-
be used for testing on systems where you've already created the VM yourself and
|
147
|
-
installed Test Kitchen on it. Note that this is related but different from the
|
148
|
-
included `proxy` driver, which also connects to an existing server, but over
|
149
|
-
SSH/WinRM rather than running commands locally.
|
150
|
-
|
151
|
-
## `shell` Provisioner `command`
|
152
|
-
|
153
|
-
Previously the included `shell` provisioner allowed running a user-specified bootstrap
|
154
|
-
script. This has been extended to allow specifying a `command` option with a
|
155
|
-
string to run, rather than managing a script file.
|
156
|
-
|
157
|
-
## Faster Busser
|
158
|
-
|
159
|
-
The `busser` verifier has been improved to be faster on the second (or beyond)
|
160
|
-
verification, or in other cases where the required gems are already present.
|
161
|
-
|
162
|
-
## `kitchen doctor`
|
163
|
-
|
164
|
-
A `kitchen doctor` command has been added, modeled on Homebrew's `brew doctor`.
|
165
|
-
This currently doesn't do much, but if you are a Kitchen plugin author, consider
|
166
|
-
adding more detailed debugging checks and troubleshooting help to your plugin
|
167
|
-
via this system.
|