forked from test-kitchen/test-kitchen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Potentially Breaking] Transports responsible for login action.
Potentially Breaking Notes ========================== This is potentially breaking to Driver authors if all of the following are true: * Your Driver currently inherits from `Kitchen::Driver::Base` * Your Driver implements/overrides the `#login_command` method Put another way, your Driver may have issues if it looks like the following: module Kitchen module Driver class MyDriver < Kitchen::Driver::Base def login_command(state) # custom converge work end end end end For the vast majority (well over 90%) of OSS Drivers in the wild, current behavio is maintained as they all inherit from `Kitchen::Driver::SSHBase`. This class has been cemented to preserve its current behavior, and Test Kitchen will invoke the `#login_command` method for these Drivers. **Note:** upgrade path and instructions for Driver authors will be written, but backwards compatibility is being taken seriously. A future deprecation process may remove the `SSHBase` backwards compatibility, but not without plent of lead time and warning. Due to the constraints of SemVer, by definition, this wouldn't occur before a 2.x codebase release.
- Loading branch information
Showing
5 changed files
with
39 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters