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
Dev/cloud vultr #58547
Dev/cloud vultr #58547
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a question and one change request. We will also need some test coverage for this change.
Thanks for the feedback. As there are no test cases at all for the Vultr client and I don't feel comfortable taking full ownership over writing those it would be very hard to write tests exclusively covering this small change, which is why I left it out. |
Here's a test to help get you started:
Let me know if you need more direction to add test coverage for the rest of the code. Thanks :) |
Also to be clear you only need to add coverage for your change, not for the entire module. |
6f27746
to
6bf3fbe
Compare
Thanks for the guidance. I added that and another test, however most of the added logic is in the |
7749c57
to
cc69931
Compare
I can definitely help in writing a test for create. Can you just paste here what kind of information you would expect to find in |
Thanks! Sure thing, |
Thanks, I've added this to my backlog. should be able to get to it by next week :) |
I will need to bump this to next week, apologies. |
No worries! We're not really using Vultr any more so this is more in the interest of getting it merged in case someone else uses it (Which I somewhat doubt since it's nigh on unusable without using SSH keys 😅 ) |
@richardsimko i went ahead and added a couple tests. Can you review and make sure the returns and args are all correct? |
@Ch3LL Sorry for the late reply, everything looks good to me! 🎉 |
Since this is feature can you also add a Release Notes, please? |
98abbf8
to
55290cd
Compare
What does this PR do?
Improves the Vultr provider for Salt Cloud by adding options for firewallgroupid (#53677) and SSH keys.
What issues does this PR fix or reference?
Fixes: #53677
Merge requirements satisfied?
[NOTICE] Bug fixes or features added to Salt require tests.
Commits signed with GPG?
Yes