-
Notifications
You must be signed in to change notification settings - Fork 140
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
Re-enable support for turbo mode #169
Re-enable support for turbo mode #169
Conversation
Codecov Report
@@ Coverage Diff @@
## main #169 +/- ##
==========================================
- Coverage 24.40% 24.02% -0.38%
==========================================
Files 1 1
Lines 168 154 -14
Branches 32 29 -3
==========================================
- Hits 41 37 -4
+ Misses 120 112 -8
+ Partials 7 5 -2
Continue to review full report at Codecov.
|
AnsibleTurboModule as AnsibleModule, | ||
) # noqa: F401 | ||
AnsibleModule.collection_name = "kubernetes.core" | ||
except ImportError: |
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.
LGTM, are we waiting for any additional changes?
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.
ansible-collections/cloud.common#69 needs to be merged and released before the tests here will pass with turbo mode enabled. If the turbo mode tests are non-voting then we can merge and just have broken tests until the issue with cloud.common is resolved.
This re-enables the ability to add turbo mode. It also adds a few more tests to cover some cases that had been broken in turbo mode previously.
@Akasurde if you want to give the new changes a review, I think we can move forward with this for now and adjust later if we need to. |
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.
LGTM. I hope we are adding docs are around this env variable in the later PR.
Yeah, I would like to get turbo mode settled and make sure it's being tested before we publish docs for it. |
To clarify, what I'm suggesting is that the existing
|
Oh crap, I totally missed this PR and I started working on this in parallel: #190 and ansible-collections/cloud.common#73 |
@goneri Yeah, I think I made this after yours as an alternative to consider. I'm not sure which one is better. Mine seems simpler but I may be missing some reason why we wouldn't want to do things this way. |
Yeah. I need to think about this a bit. You're approach is definitely way lighter. |
I believe it should also be easy to set up a non-voting CI job using something like:
at the playbook level in |
I suggest we land your PR first. And in the future, if we look for something more elaborate, we can still revisit mine. |
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.
LGTM!
SUMMARY
This re-enables the ability to add turbo mode. It also adds a few more
tests to cover some cases that had been broken in turbo mode previously.
Testing with turbo mode is not currently enabled, and would fail until ansible-collections/cloud.common#69 can be merged and a new cloud.common release is done. This also does not add cloud.common to the collection dependencies until a decision has been made about how enabling/disabling turbo mode will work when cloud.common is already installed.
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION