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

Azure Cloud Driver #124

Merged
merged 3 commits into from Jun 24, 2019
Merged

Azure Cloud Driver #124

merged 3 commits into from Jun 24, 2019

Conversation

mikeln
Copy link
Contributor

@mikeln mikeln commented May 20, 2019

Adds Azure Cloud Driver.

Note: paramiko library changes are required for communication with Azure nodes.
There is an in-flight PR: paramiko/paramiko#1233. A user will have to create their own paramiko lib with those changes to be able to use this driver.

Explicit utf-8 encoding was needed to process the strings returned from Azure Docker commands. This should be ok with all other cloud providers.

New section in overall README for cloud provider specifics added. This should be filled out more in another PR.

Related issue: #101

@mikeln
Copy link
Contributor Author

mikeln commented Jun 12, 2019

paramiko has fixed and released the issue. 2.5.0. will update setup.py to require at least that version of paramiko (which is used via spur).

@mikeln mikeln force-pushed the azure1 branch 3 times, most recently from c50f319 to 9b79073 Compare June 13, 2019 05:12
Signed-off-by: Mikel Nelson <github@mikelnelson.net>

add a new option to pass kill command template

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>

pass the kill command template and store in the remote executor

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>

just a docstring on remote executor

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>

add a method to generate a kill command

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>

use the new method in the command line prompt

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>

use the same method to generate kill command in pod scenarios

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>

aaaand all these other places that should no longer use the template directly

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>

use the real RemoteExecutor in the tests to expose the new
get_kill_command method

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>

minor version bump

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>

Fix steps example

Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com>

Fix input compatibility

Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com>

Fix YAML load()

Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com>

add dependency for paramiko

Signed-off-by: Mikel Nelson <github@mikelnelson.net>
Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
@seeker89 seeker89 merged commit 45f8d77 into powerfulseal:master Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants