Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add supplemental kitchen commands to rake task #1104

Closed
4-20ma opened this issue Aug 20, 2016 · 1 comment
Closed

Add supplemental kitchen commands to rake task #1104

4-20ma opened this issue Aug 20, 2016 · 1 comment

Comments

@4-20ma
Copy link
Contributor

4-20ma commented Aug 20, 2016

Description

Add supplemental kitchen commands to rake task to facilitate development and troubleshooting. Specifically, add create, converge, setup, verify, and destroy.

Kitchen Version

Test Kitchen version 1.11.1

ChefDK Version

Chef Development Kit Version: 0.16.28
chef-client version: 12.9.41
delivery version: master (921828facad8a8bbbd767368bfc72f19bd30e7bd)
berks version: 4.3.3
kitchen version: 1.11.1

Ruby Version

ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]

Platform Version

Mac OS X 10.11.6

Replication Case

When using the built-in Kitchen::RakeTasks, there is currently no way to iteratively test minor changes to integration specs without doing a full create-converge-setup-verify-destroy cycle. Adding the aforementioned kitchen commands provides the desired development feature.

Kitchen Output

Rake task before feature implementation:

$ rake -T
rake kitchen:all                             # Run all test instances
...
rake kitchen:default-centos-6                # Run default-centos-6 test in...
...

Rake task after feature implementation:

$ rake -T
rake kitchen:all                             # Run all test instances
...
rake kitchen:converge:all                    # Run all converge instances
...
rake kitchen:create:all                      # Run all create instances
...
rake kitchen:default-centos-6                # Run default-centos-6 test in...
...
rake kitchen:destroy:all                     # Run all destroy instances
...
rake kitchen:setup:all                       # Run all setup instances
...
rake kitchen:verify:all                      # Run all verify instances
...
cheeseplus pushed a commit that referenced this issue Aug 6, 2018
…s_to_rake_task

Fix #1104 add supplemental kitchen commands
@lock
Copy link

lock bot commented Oct 5, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants