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.
Files changed (254) hide show
  1. checksums.yaml +4 -4
  2. data/lib/kitchen/version.rb +1 -1
  3. data/support/chef-client-zero.rb +1 -1
  4. metadata +5 -324
  5. data/.gitattributes +0 -3
  6. data/.github/ISSUE_TEMPLATE.md +0 -56
  7. data/.github/lock.yml +0 -1
  8. data/.gitignore +0 -38
  9. data/.gitmodules +0 -0
  10. data/.kitchen.appveyor.yml +0 -25
  11. data/.kitchen.dokken.yml +0 -31
  12. data/.kitchen.proxy.yml +0 -27
  13. data/.rubocop.yml +0 -5
  14. data/.travis.yml +0 -57
  15. data/.yardopts +0 -3
  16. data/Berksfile +0 -3
  17. data/CHANGELOG.md +0 -1510
  18. data/CONTRIBUTING.md +0 -14
  19. data/ECOSYSTEM.md +0 -93
  20. data/Gemfile +0 -40
  21. data/Gemfile.proxy_tests +0 -4
  22. data/Guardfile +0 -42
  23. data/MAINTAINERS.md +0 -29
  24. data/README.md +0 -138
  25. data/RELEASE_NOTES.md +0 -167
  26. data/Rakefile +0 -77
  27. data/appveyor.yml +0 -47
  28. data/docs/CONTRIBUTING.md +0 -8
  29. data/docs/LICENSE +0 -22
  30. data/docs/README.md +0 -78
  31. data/docs/archetypes/default.md +0 -6
  32. data/docs/config.toml +0 -36
  33. data/docs/content/docs/_index.md +0 -5
  34. data/docs/content/docs/drivers/_index.md +0 -27
  35. data/docs/content/docs/drivers/azurerm.md +0 -44
  36. data/docs/content/docs/drivers/vagrant.md +0 -39
  37. data/docs/content/docs/getting-started/00-introduction.md +0 -14
  38. data/docs/content/docs/getting-started/01-installing.md +0 -64
  39. data/docs/content/docs/getting-started/02-getting-help.md +0 -59
  40. data/docs/content/docs/getting-started/03-creating-cookbook.md +0 -46
  41. data/docs/content/docs/getting-started/04-kitchen-yml.md +0 -56
  42. data/docs/content/docs/getting-started/05-instances.md +0 -79
  43. data/docs/content/docs/getting-started/06-writing-recipe.md +0 -21
  44. data/docs/content/docs/getting-started/07-running-converge.md +0 -134
  45. data/docs/content/docs/getting-started/08-manually-verifying.md +0 -55
  46. data/docs/content/docs/getting-started/09-writing-test.md +0 -49
  47. data/docs/content/docs/getting-started/10-running-verify.md +0 -120
  48. data/docs/content/docs/getting-started/11-running-test.md +0 -168
  49. data/docs/content/docs/getting-started/12-adding-platform.md +0 -206
  50. data/docs/content/docs/getting-started/13-adding-feature.md +0 -30
  51. data/docs/content/docs/getting-started/14-adding-suite.md +0 -60
  52. data/docs/content/docs/getting-started/15-adding-test.md +0 -66
  53. data/docs/content/docs/getting-started/16-adding-recipe.md +0 -53
  54. data/docs/content/docs/getting-started/17-excluding-platforms.md +0 -101
  55. data/docs/content/docs/getting-started/18-next-steps.md +0 -23
  56. data/docs/content/docs/getting-started/_index.md +0 -5
  57. data/docs/content/docs/provisioners/_index.md +0 -36
  58. data/docs/content/docs/provisioners/chef.md +0 -69
  59. data/docs/content/docs/provisioners/shell.md +0 -31
  60. data/docs/content/docs/reference/_index.md +0 -5
  61. data/docs/content/docs/reference/configuration.md +0 -53
  62. data/docs/content/docs/reference/examples.md +0 -97
  63. data/docs/content/docs/reference/faq.md +0 -58
  64. data/docs/content/docs/reference/fixtures.md +0 -32
  65. data/docs/content/docs/reference/glossary.md +0 -34
  66. data/docs/content/docs/reference/lifecycle-hooks.md +0 -68
  67. data/docs/content/docs/reference/reboots.md +0 -24
  68. data/docs/content/docs/verifiers/_index.md +0 -14
  69. data/docs/content/docs/verifiers/inspec.md +0 -44
  70. data/docs/content/docs/verifiers/serverspec.md +0 -20
  71. data/docs/static/images/chef-logo.png +0 -0
  72. data/docs/static/images/chef-logo.svg +0 -1
  73. data/docs/static/images/github-banner.png +0 -0
  74. data/docs/static/images/github-banner.svg +0 -71
  75. data/docs/static/images/kitchen-logo.png +0 -0
  76. data/docs/static/images/logo-block.svg +0 -222
  77. data/docs/static/images/logo.png +0 -0
  78. data/docs/static/images/logos-group.png +0 -0
  79. data/docs/static/images/terminal-1.png +0 -0
  80. data/docs/static/images/terminal-1.svg +0 -589
  81. data/docs/static/images/terminal-2.png +0 -0
  82. data/docs/static/images/terminal-2.svg +0 -235
  83. data/docs/static/images/terminal-3.png +0 -0
  84. data/docs/static/images/terminal-3.svg +0 -439
  85. data/docs/static/index.html +0 -59
  86. data/docs/static/javascripts/all.js +0 -348
  87. data/docs/static/javascripts/vendor/foundation.min.js +0 -4
  88. data/docs/static/javascripts/vendor/jquery.min.js +0 -5
  89. data/docs/static/javascripts/vendor/what-input.js +0 -336
  90. data/docs/static/stylesheets/site.css +0 -4667
  91. data/docs/themes/kitchen/layouts/_default/baseof.html +0 -53
  92. data/docs/themes/kitchen/layouts/_default/list.html +0 -4
  93. data/docs/themes/kitchen/layouts/_default/redirect.html +0 -10
  94. data/docs/themes/kitchen/layouts/_default/single.html +0 -6
  95. data/docs/themes/kitchen/layouts/partials/core/head.html +0 -6
  96. data/docs/themes/kitchen/layouts/partials/kitchen/footer.html +0 -18
  97. data/docs/themes/kitchen/layouts/partials/kitchen/head.html +0 -4
  98. data/docs/themes/kitchen/layouts/partials/kitchen/header.html +0 -26
  99. data/docs/themes/kitchen/layouts/partials/search-docs.html +0 -3
  100. data/docs/themes/kitchen/layouts/partials/sidebar.html +0 -33
  101. data/docs/themes/kitchen/layouts/shortcodes/button.html +0 -1
  102. data/docs/themes/kitchen/layouts/shortcodes/codeblock.html +0 -8
  103. data/docs/themes/kitchen/layouts/shortcodes/cta.html +0 -5
  104. data/docs/themes/kitchen/layouts/shortcodes/danger.html +0 -1
  105. data/docs/themes/kitchen/layouts/shortcodes/example_fqdn.html +0 -1
  106. data/docs/themes/kitchen/layouts/shortcodes/info.html +0 -1
  107. data/docs/themes/kitchen/layouts/shortcodes/ol-styled.html +0 -3
  108. data/docs/themes/kitchen/layouts/shortcodes/success.html +0 -1
  109. data/docs/themes/kitchen/layouts/shortcodes/tip.html +0 -1
  110. data/docs/themes/kitchen/layouts/shortcodes/warning.html +0 -1
  111. data/docs/themes/kitchen/static/css/kitchen.css +0 -10
  112. data/docs/themes/kitchen/static/css/kitchen.css.map +0 -7
  113. data/docs/themes/kitchen/static/fonts/Muli-Bold.ttf +0 -0
  114. data/docs/themes/kitchen/static/fonts/Muli-Regular.ttf +0 -0
  115. data/docs/themes/kitchen/static/fonts/Muli-SemiBold.ttf +0 -0
  116. data/docs/themes/kitchen/static/fonts/fontawesome/fa-brands-400.eot +0 -0
  117. data/docs/themes/kitchen/static/fonts/fontawesome/fa-brands-400.svg +0 -1104
  118. data/docs/themes/kitchen/static/fonts/fontawesome/fa-brands-400.ttf +0 -0
  119. data/docs/themes/kitchen/static/fonts/fontawesome/fa-brands-400.woff +0 -0
  120. data/docs/themes/kitchen/static/fonts/fontawesome/fa-brands-400.woff2 +0 -0
  121. data/docs/themes/kitchen/static/fonts/fontawesome/fa-regular-400.eot +0 -0
  122. data/docs/themes/kitchen/static/fonts/fontawesome/fa-regular-400.svg +0 -372
  123. data/docs/themes/kitchen/static/fonts/fontawesome/fa-regular-400.ttf +0 -0
  124. data/docs/themes/kitchen/static/fonts/fontawesome/fa-regular-400.woff +0 -0
  125. data/docs/themes/kitchen/static/fonts/fontawesome/fa-regular-400.woff2 +0 -0
  126. data/docs/themes/kitchen/static/fonts/fontawesome/fa-solid-900.eot +0 -0
  127. data/docs/themes/kitchen/static/fonts/fontawesome/fa-solid-900.svg +0 -1896
  128. data/docs/themes/kitchen/static/fonts/fontawesome/fa-solid-900.ttf +0 -0
  129. data/docs/themes/kitchen/static/fonts/fontawesome/fa-solid-900.woff +0 -0
  130. data/docs/themes/kitchen/static/fonts/fontawesome/fa-solid-900.woff2 +0 -0
  131. data/docs/themes/kitchen/static/images/chef-logo-light.svg +0 -36
  132. data/docs/themes/kitchen/static/images/chef-logo-white.svg +0 -38
  133. data/docs/themes/kitchen/static/images/chef-logo.svg +0 -37
  134. data/docs/themes/kitchen/static/images/favicon.ico +0 -0
  135. data/docs/themes/kitchen/static/js/scripts-all.js +0 -7
  136. data/docs/themes/kitchen/static/js/source/chef-hugo.js +0 -116
  137. data/docs/themes/kitchen/static/js/source/omnitruck.js +0 -82
  138. data/docs/themes/kitchen/static/js/source/segment.js +0 -52
  139. data/docs/themes/kitchen/static/sass/_buttons.scss +0 -161
  140. data/docs/themes/kitchen/static/sass/_core.scss +0 -24
  141. data/docs/themes/kitchen/static/sass/_forms.scss +0 -14
  142. data/docs/themes/kitchen/static/sass/_mixins.scss +0 -133
  143. data/docs/themes/kitchen/static/sass/_typography.scss +0 -34
  144. data/docs/themes/kitchen/static/sass/_variables.scss +0 -82
  145. data/docs/themes/kitchen/static/sass/kitchen.scss +0 -7
  146. data/docs/themes/kitchen/static/sass/kitchen/_footer.scss +0 -50
  147. data/docs/themes/kitchen/static/sass/kitchen/_header.scss +0 -187
  148. data/docs/themes/kitchen/static/sass/kitchen/_homepage.scss +0 -27
  149. data/docs/themes/kitchen/static/sass/kitchen/_utility-bar.scss +0 -173
  150. data/docs/themes/kitchen/static/sass/partials/_alerts.scss +0 -32
  151. data/docs/themes/kitchen/static/sass/partials/_bg.scss +0 -19
  152. data/docs/themes/kitchen/static/sass/partials/_blurbs.scss +0 -25
  153. data/docs/themes/kitchen/static/sass/partials/_callout.scss +0 -15
  154. data/docs/themes/kitchen/static/sass/partials/_cards.scss +0 -54
  155. data/docs/themes/kitchen/static/sass/partials/_dropdown.scss +0 -77
  156. data/docs/themes/kitchen/static/sass/partials/_grid.scss +0 -87
  157. data/docs/themes/kitchen/static/sass/partials/_padding.scss +0 -73
  158. data/docs/themes/kitchen/static/sass/partials/_sidebar.scss +0 -71
  159. data/docs/themes/kitchen/static/sass/partials/_tabs.scss +0 -125
  160. data/docs/themes/kitchen/static/sass/typography/_chroma.scss +0 -366
  161. data/docs/themes/kitchen/static/sass/typography/_code.scss +0 -72
  162. data/docs/themes/kitchen/static/sass/typography/_headers.scss +0 -90
  163. data/docs/themes/kitchen/static/sass/typography/_links.scss +0 -127
  164. data/docs/themes/kitchen/static/sass/typography/_lists.scss +0 -155
  165. data/docs/themes/kitchen/static/sass/typography/_prose.scss +0 -29
  166. data/docs/themes/kitchen/static/sass/typography/_text.scss +0 -221
  167. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_animated.scss +0 -20
  168. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_bordered-pulled.scss +0 -20
  169. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_core.scss +0 -16
  170. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_fixed-width.scss +0 -6
  171. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_icons.scss +0 -992
  172. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_larger.scss +0 -23
  173. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_list.scss +0 -18
  174. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_mixins.scss +0 -57
  175. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_rotated-flipped.scss +0 -23
  176. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_screen-reader.scss +0 -5
  177. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_stacked.scss +0 -31
  178. data/docs/themes/kitchen/static/sass/vendor/fontawesome/_variables.scss +0 -1005
  179. data/docs/themes/kitchen/static/sass/vendor/fontawesome/fa-brands.scss +0 -21
  180. data/docs/themes/kitchen/static/sass/vendor/fontawesome/fa-regular.scss +0 -22
  181. data/docs/themes/kitchen/static/sass/vendor/fontawesome/fa-solid.scss +0 -23
  182. data/docs/themes/kitchen/static/sass/vendor/fontawesome/fontawesome.scss +0 -16
  183. data/docs/themes/kitchen/theme.toml +0 -8
  184. data/features/kitchen_action_commands.feature +0 -164
  185. data/features/kitchen_command.feature +0 -16
  186. data/features/kitchen_console_command.feature +0 -35
  187. data/features/kitchen_defaults.feature +0 -38
  188. data/features/kitchen_diagnose_command.feature +0 -96
  189. data/features/kitchen_help_command.feature +0 -16
  190. data/features/kitchen_init_command.feature +0 -254
  191. data/features/kitchen_list_command.feature +0 -140
  192. data/features/kitchen_login_command.feature +0 -62
  193. data/features/kitchen_sink_command.feature +0 -30
  194. data/features/kitchen_test_command.feature +0 -88
  195. data/features/step_definitions/gem_steps.rb +0 -24
  196. data/features/step_definitions/git_steps.rb +0 -5
  197. data/features/step_definitions/output_steps.rb +0 -5
  198. data/features/support/env.rb +0 -74
  199. data/spec/kitchen/base64_stream_spec.rb +0 -74
  200. data/spec/kitchen/cli_spec.rb +0 -54
  201. data/spec/kitchen/collection_spec.rb +0 -76
  202. data/spec/kitchen/color_spec.rb +0 -51
  203. data/spec/kitchen/config_spec.rb +0 -434
  204. data/spec/kitchen/configurable_spec.rb +0 -1113
  205. data/spec/kitchen/data_munger_spec.rb +0 -2800
  206. data/spec/kitchen/diagnostic_spec.rb +0 -128
  207. data/spec/kitchen/driver/base_spec.rb +0 -132
  208. data/spec/kitchen/driver/dummy_spec.rb +0 -193
  209. data/spec/kitchen/driver/exec_spec.rb +0 -75
  210. data/spec/kitchen/driver/proxy_spec.rb +0 -127
  211. data/spec/kitchen/driver/ssh_base_spec.rb +0 -1136
  212. data/spec/kitchen/driver_spec.rb +0 -106
  213. data/spec/kitchen/errors_spec.rb +0 -317
  214. data/spec/kitchen/instance_spec.rb +0 -1372
  215. data/spec/kitchen/lazy_hash_spec.rb +0 -113
  216. data/spec/kitchen/lifecycle_hooks_spec.rb +0 -171
  217. data/spec/kitchen/loader/yaml_spec.rb +0 -787
  218. data/spec/kitchen/logger_spec.rb +0 -425
  219. data/spec/kitchen/logging_spec.rb +0 -56
  220. data/spec/kitchen/login_command_spec.rb +0 -67
  221. data/spec/kitchen/metadata_chopper_spec.rb +0 -79
  222. data/spec/kitchen/platform_spec.rb +0 -88
  223. data/spec/kitchen/provisioner/base_spec.rb +0 -393
  224. data/spec/kitchen/provisioner/chef/policyfile_spec.rb +0 -140
  225. data/spec/kitchen/provisioner/chef_apply_spec.rb +0 -131
  226. data/spec/kitchen/provisioner/chef_base_spec.rb +0 -1565
  227. data/spec/kitchen/provisioner/chef_solo_spec.rb +0 -602
  228. data/spec/kitchen/provisioner/chef_zero_spec.rb +0 -1013
  229. data/spec/kitchen/provisioner/dummy_spec.rb +0 -96
  230. data/spec/kitchen/provisioner/shell_spec.rb +0 -623
  231. data/spec/kitchen/provisioner_spec.rb +0 -101
  232. data/spec/kitchen/shell_out_spec.rb +0 -146
  233. data/spec/kitchen/ssh_spec.rb +0 -584
  234. data/spec/kitchen/state_file_spec.rb +0 -122
  235. data/spec/kitchen/suite_spec.rb +0 -61
  236. data/spec/kitchen/transport/base_spec.rb +0 -140
  237. data/spec/kitchen/transport/exec_spec.rb +0 -79
  238. data/spec/kitchen/transport/ssh_spec.rb +0 -1317
  239. data/spec/kitchen/transport/winrm_spec.rb +0 -1320
  240. data/spec/kitchen/transport_spec.rb +0 -106
  241. data/spec/kitchen/util_spec.rb +0 -250
  242. data/spec/kitchen/verifier/base_spec.rb +0 -346
  243. data/spec/kitchen/verifier/busser_spec.rb +0 -580
  244. data/spec/kitchen/verifier/dummy_spec.rb +0 -96
  245. data/spec/kitchen/verifier/shell_spec.rb +0 -157
  246. data/spec/kitchen/verifier_spec.rb +0 -114
  247. data/spec/kitchen_spec.rb +0 -112
  248. data/spec/spec_helper.rb +0 -110
  249. data/spec/support/powershell_max_size_spec.rb +0 -39
  250. data/test-kitchen.gemspec +0 -49
  251. data/test/cookbooks/test_cookbook/metadata.rb +0 -6
  252. data/test/cookbooks/test_cookbook/recipes/default.rb +0 -1
  253. data/test/integration/default/default_spec.rb +0 -3
  254. data/testing_windows.md +0 -38
@@ -1,21 +0,0 @@
1
- /*!
2
- * Font Awesome Free 5.0.13 by @fontawesome - https://fontawesome.com
3
- * License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
- */
5
- @import 'variables';
6
-
7
- @font-face {
8
- font-family: 'Font Awesome 5 Brands';
9
- font-style: normal;
10
- font-weight: normal;
11
- src: url('#{$fa-font-path}/fa-brands-400.eot');
12
- src: url('#{$fa-font-path}/fa-brands-400.eot?#iefix') format('embedded-opentype'),
13
- url('#{$fa-font-path}/fa-brands-400.woff2') format('woff2'),
14
- url('#{$fa-font-path}/fa-brands-400.woff') format('woff'),
15
- url('#{$fa-font-path}/fa-brands-400.ttf') format('truetype'),
16
- url('#{$fa-font-path}/fa-brands-400.svg#fontawesome') format('svg');
17
- }
18
-
19
- .fab {
20
- font-family: 'Font Awesome 5 Brands';
21
- }
@@ -1,22 +0,0 @@
1
- /*!
2
- * Font Awesome Free 5.0.13 by @fontawesome - https://fontawesome.com
3
- * License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
- */
5
- @import 'variables';
6
-
7
- @font-face {
8
- font-family: 'Font Awesome 5 Free';
9
- font-style: normal;
10
- font-weight: 400;
11
- src: url('#{$fa-font-path}/fa-regular-400.eot');
12
- src: url('#{$fa-font-path}/fa-regular-400.eot?#iefix') format('embedded-opentype'),
13
- url('#{$fa-font-path}/fa-regular-400.woff2') format('woff2'),
14
- url('#{$fa-font-path}/fa-regular-400.woff') format('woff'),
15
- url('#{$fa-font-path}/fa-regular-400.ttf') format('truetype'),
16
- url('#{$fa-font-path}/fa-regular-400.svg#fontawesome') format('svg');
17
- }
18
-
19
- .far {
20
- font-family: 'Font Awesome 5 Free';
21
- font-weight: 400;
22
- }
@@ -1,23 +0,0 @@
1
- /*!
2
- * Font Awesome Free 5.0.13 by @fontawesome - https://fontawesome.com
3
- * License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
- */
5
- @import 'variables';
6
-
7
- @font-face {
8
- font-family: 'Font Awesome 5 Free';
9
- font-style: normal;
10
- font-weight: 900;
11
- src: url('#{$fa-font-path}/fa-solid-900.eot');
12
- src: url('#{$fa-font-path}/fa-solid-900.eot?#iefix') format('embedded-opentype'),
13
- url('#{$fa-font-path}/fa-solid-900.woff2') format('woff2'),
14
- url('#{$fa-font-path}/fa-solid-900.woff') format('woff'),
15
- url('#{$fa-font-path}/fa-solid-900.ttf') format('truetype'),
16
- url('#{$fa-font-path}/fa-solid-900.svg#fontawesome') format('svg');
17
- }
18
-
19
- .fa,
20
- .fas {
21
- font-family: 'Font Awesome 5 Free';
22
- font-weight: 900;
23
- }
@@ -1,16 +0,0 @@
1
- /*!
2
- * Font Awesome Free 5.0.13 by @fontawesome - https://fontawesome.com
3
- * License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
- */
5
- @import 'variables';
6
- @import 'mixins';
7
- @import 'core';
8
- @import 'larger';
9
- @import 'fixed-width';
10
- @import 'list';
11
- @import 'bordered-pulled';
12
- @import 'animated';
13
- @import 'rotated-flipped';
14
- @import 'stacked';
15
- @import 'icons';
16
- @import 'screen-reader';
@@ -1,8 +0,0 @@
1
- name = "kitchen"
2
- license = "Apache-2"
3
- licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE.md"
4
- description = "The theme used for KitchenCI"
5
- homepage = "http://github.com/chef/chef-hugo-theme"
6
- tags = []
7
- features = []
8
- min_version = "0.38"
@@ -1,164 +0,0 @@
1
- Feature: Running instance actions
2
- In order to trigger discrete instance lifecyle actions
3
- As an operator
4
- I want to run a action commands
5
-
6
- Background:
7
- Given a file named ".kitchen.yml" with:
8
- """
9
- ---
10
- driver:
11
- name: dummy
12
-
13
- provisioner:
14
- name: dummy
15
-
16
- verifier:
17
- name: dummy
18
-
19
- platforms:
20
- - name: cool
21
- - name: beans
22
-
23
- suites:
24
- - name: client
25
- - name: server
26
- """
27
-
28
- @spawn
29
- Scenario: Creating a single instance
30
- When I successfully run `kitchen list client-beans`
31
- Then the stdout should match /^client-beans\s+.+\s+\<Not Created\>\s+\<None\>\Z/
32
- When I run `kitchen create client-beans`
33
- Then the output should contain "Finished creating <client-beans>"
34
- And the exit status should be 0
35
- When I successfully run `kitchen list client-beans`
36
- Then the stdout should match /^client-beans\s+.+\s+Created\s+\<None\>\Z/
37
-
38
- @spawn
39
- Scenario: Creating a single instance that fails
40
- Given a file named ".kitchen.local.yml" with:
41
- """
42
- ---
43
- driver:
44
- fail_create: true
45
- """
46
- When I successfully run `kitchen list client-beans`
47
- Then the stdout should match /^client-beans\s+.+\s+\<Not Created\>\s+\<None\>\Z/
48
- When I run `kitchen create client-beans`
49
- Then the output should contain "Create failed on instance <client-beans>"
50
- And the exit status should not be 0
51
- When I successfully run `kitchen list client-beans`
52
- Then the stdout should match /^client-beans\s+.+\s+\<Not Created\>\s+Kitchen::ActionFailed\Z/
53
-
54
- @spawn
55
- Scenario: Converging a single instance
56
- When I successfully run `kitchen create client-beans`
57
- And I successfully run `kitchen list client-beans`
58
- Then the stdout should match /^client-beans\s+.+\s+Created\s+\<None\>\Z/
59
- When I run `kitchen converge client-beans`
60
- Then the output should contain "Finished converging <client-beans>"
61
- And the exit status should be 0
62
- When I successfully run `kitchen list client-beans`
63
- Then the stdout should match /^client-beans\s+.+\s+Converged\s+\<None\>\Z/
64
-
65
- @spawn
66
- Scenario: Converging a single instance that fails
67
- Given a file named ".kitchen.local.yml" with:
68
- """
69
- ---
70
- provisioner:
71
- fail: true
72
- """
73
- When I successfully run `kitchen create client-beans`
74
- And I successfully run `kitchen list client-beans`
75
- Then the stdout should match /^client-beans\s+.+\s+Created\s+\<None\>\Z/
76
- When I run `kitchen converge client-beans`
77
- Then the output should contain "Converge failed on instance <client-beans>"
78
- And the exit status should not be 0
79
- When I successfully run `kitchen list client-beans`
80
- Then the stdout should match /^client-beans\s+.+\s+Created\s+Kitchen::ActionFailed\Z/
81
-
82
- @spawn
83
- Scenario: Setting up a single instance
84
- When I successfully run `kitchen converge client-beans`
85
- And I successfully run `kitchen list client-beans`
86
- Then the stdout should match /^client-beans\s+.+\s+Converged\s+\<None\>\Z/
87
- When I run `kitchen setup client-beans`
88
- Then the output should contain "Finished setting up <client-beans>"
89
- And the exit status should be 0
90
- When I successfully run `kitchen list client-beans`
91
- Then the stdout should match /^client-beans\s+.+\s+Set Up\s+\<None\>\Z/
92
-
93
- @spawn
94
- Scenario: Setting up a single instance that fails
95
- Given a file named ".kitchen.local.yml" with:
96
- """
97
- ---
98
- verifier:
99
- fail: true
100
- """
101
- When I successfully run `kitchen converge client-beans`
102
- And I successfully run `kitchen list client-beans`
103
- Then the stdout should match /^client-beans\s+.+\s+Converged\s+\<None\>\Z/
104
- When I run `kitchen verify client-beans`
105
- Then the output should contain "Verify failed on instance <client-beans>"
106
- And the exit status should not be 0
107
- When I successfully run `kitchen list client-beans`
108
- Then the stdout should match /^client-beans\s+.+\s+Set Up\s+Kitchen::ActionFailed\Z/
109
-
110
- @spawn
111
- Scenario: Verifying a single instance
112
- When I successfully run `kitchen setup client-beans`
113
- And I successfully run `kitchen list client-beans`
114
- Then the stdout should match /^client-beans\s+.+\s+Set Up\s+\<None\>\Z/
115
- When I run `kitchen verify client-beans`
116
- Then the output should contain "Finished verifying <client-beans>"
117
- And the exit status should be 0
118
- When I successfully run `kitchen list client-beans`
119
- Then the stdout should match /^client-beans\s+.+\s+Verified\s+\<None\>\Z/
120
-
121
- @spawn
122
- Scenario: Verifying a single instance that fails
123
- Given a file named ".kitchen.local.yml" with:
124
- """
125
- ---
126
- verifier:
127
- fail: true
128
- """
129
- When I successfully run `kitchen setup client-beans`
130
- And I successfully run `kitchen list client-beans`
131
- Then the stdout should match /^client-beans\s+.+\s+Set Up\s+\<None\>\Z/
132
- When I run `kitchen verify client-beans`
133
- Then the output should contain "Verify failed on instance <client-beans>"
134
- And the exit status should not be 0
135
- When I successfully run `kitchen list client-beans`
136
- Then the stdout should match /^client-beans\s+.+\s+Set Up\s+Kitchen::ActionFailed\Z/
137
-
138
- @spawn
139
- Scenario: Destroying a single instance
140
- When I successfully run `kitchen create client-beans`
141
- And I successfully run `kitchen list client-beans`
142
- Then the stdout should match /^client-beans\s+.+\s+Created\s+\<None\>\Z/
143
- When I run `kitchen destroy client-beans`
144
- Then the output should contain "Finished destroying <client-beans>"
145
- And the exit status should be 0
146
- When I successfully run `kitchen list client-beans`
147
- Then the stdout should match /^client-beans\s+.+\s+\<Not Created\>\s+\<None\>\Z/
148
-
149
- @spawn
150
- Scenario: Destroying a single instance that fails
151
- Given a file named ".kitchen.local.yml" with:
152
- """
153
- ---
154
- driver:
155
- fail_destroy: true
156
- """
157
- When I successfully run `kitchen create client-beans`
158
- And I successfully run `kitchen list client-beans`
159
- Then the stdout should match /^client-beans\s+.+\s+Created\s+\<None\>\Z/
160
- When I run `kitchen destroy client-beans`
161
- Then the output should contain "Destroy failed on instance <client-beans>"
162
- And the exit status should not be 0
163
- When I successfully run `kitchen list client-beans`
164
- Then the stdout should match /^client-beans\s+.+\s+Created\s+Kitchen::ActionFailed\Z/
@@ -1,16 +0,0 @@
1
- Feature: A command line interface for Test Kitchen
2
- In order to provide a quick and response development workflow
3
- As a Test Kitchen user
4
- I want a command line interface that has sane defaults and built in help
5
-
6
- @spawn
7
- Scenario: Displaying help
8
- When I run `kitchen help`
9
- Then the exit status should be 0
10
- And the output should contain "kitchen console"
11
- And the output should contain "kitchen version"
12
-
13
- Scenario: Displaying the version of Test Kitchen
14
- When I run `kitchen version`
15
- Then the exit status should be 0
16
- And the output should contain "Test Kitchen version"
@@ -1,35 +0,0 @@
1
- @ignore
2
- Feature: Running a console command
3
- In order to interactively explore Kitchen's internals and wiring
4
- As an opterator
5
- I want to run a command to launch an interactive console session
6
-
7
- Background:
8
- Given a file named ".kitchen.yml" with:
9
- """
10
- ---
11
- driver:
12
- name: dummy
13
-
14
- provisioner:
15
- name: dummy
16
-
17
- platforms:
18
- - name: flebian
19
-
20
- suites:
21
- - name: default
22
- - name: full
23
- """
24
-
25
- @spawn
26
- Scenario: Launching a session
27
- When I run `kitchen console` interactively
28
- And I type "instances.map { |i| i.name }"
29
- And I type "exit"
30
- Then the output should contain "kc(Kitchen::Config)> "
31
- Then the output should contain:
32
- """
33
- ["default-flebian", "full-flebian"]
34
- """
35
- And the exit status should be 0
@@ -1,38 +0,0 @@
1
- Feature: Test Kitchen defaults
2
- In order to have a more pleasant out of the box experience
3
- As a user of Test Kitchen
4
- I want to have some common defaults handled for me
5
-
6
- Scenario: Windows platforms get the Winrm Transport by default
7
- Given a file named ".kitchen.yml" with:
8
- """
9
- ---
10
- driver: dummy
11
- provisioner: dummy
12
- verifier: dummy
13
-
14
- platforms:
15
- - name: win-8.1
16
-
17
- suites:
18
- - name: default
19
- """
20
- When I successfully run `kitchen list`
21
- Then the output should match /^default-win-81\s+Dummy\s+Dummy\s+Dummy\s+Winrm\s+\<Not Created\>\s+\<None\>$/
22
-
23
- Scenario: Non-Windows platforms get the Ssh Transport by default
24
- Given a file named ".kitchen.yml" with:
25
- """
26
- ---
27
- driver: dummy
28
- provisioner: dummy
29
- verifier: dummy
30
-
31
- platforms:
32
- - name: ubuntu-16.04
33
-
34
- suites:
35
- - name: default
36
- """
37
- When I successfully run `kitchen list`
38
- Then the output should match /^default-ubuntu-1604\s+Dummy\s+Dummy\s+Dummy\s+Ssh\s+\<Not Created\>\s+\<None\>$/
@@ -1,96 +0,0 @@
1
- Feature: Running a diagnosis command
2
- In order to understand how Kitchen is wired together
3
- As an operator and configuration sleuth
4
- I want to run a command to get configuration information
5
-
6
- Background:
7
- Given a file named ".kitchen.yml" with:
8
- """
9
- ---
10
- driver:
11
- name: dummy
12
-
13
- provisioner:
14
- name: dummy
15
-
16
- transport:
17
- name: dummy
18
-
19
- verifier:
20
- name: dummy
21
-
22
- platforms:
23
- - name: cool
24
- - name: beans
25
-
26
- suites:
27
- - name: client
28
- - name: server
29
- """
30
-
31
- @spawn
32
- Scenario: Displaying help
33
- When I run `kitchen help diagnose`
34
- Then the output should contain:
35
- """
36
- Usage:
37
- kitchen diagnose
38
- """
39
- And the exit status should be 0
40
-
41
- @spawn
42
- Scenario: Showing all instances
43
- When I run `kitchen diagnose`
44
- Then the output should contain "timestamp: "
45
- Then the output should contain "kitchen_version: "
46
- Then the output should contain " client-cool:"
47
- Then the output should contain " client-beans:"
48
- Then the output should contain " server-cool:"
49
- Then the output should contain " server-beans:"
50
- And the exit status should be 0
51
-
52
- @spawn
53
- Scenario: Showing all instances with loader configuration
54
- When I run `kitchen diagnose --loader`
55
- Then the output should contain:
56
- """
57
- loader:
58
- process_erb: true
59
- process_local: true
60
- process_global: true
61
- """
62
- And the exit status should be 0
63
-
64
- @spawn
65
- Scenario: Showing all instances with plugin configuration
66
- When I run `kitchen diagnose --plugins`
67
- Then the output should contain "plugins:"
68
- Then the output should contain " class: Kitchen::Driver::Dummy"
69
- Then the output should contain " class: Kitchen::Provisioner::Dummy"
70
- Then the output should contain " class: Kitchen::Transport::Dummy"
71
- Then the output should contain " class: Kitchen::Verifier::Dummy"
72
- And the exit status should be 0
73
-
74
- @spawn
75
- Scenario: Coping with loading failure
76
- Given a file named ".kitchen.local.yml" with:
77
- """
78
- I'm a little teapot
79
- """
80
- When I run `kitchen diagnose --all`
81
- Then the output should contain:
82
- """
83
- raw_data:
84
- error:
85
- """
86
- And the output should contain:
87
- """
88
- instances:
89
- error:
90
- """
91
- And the output should contain:
92
- """
93
- plugins:
94
- error:
95
- """
96
- And the exit status should be 0