-
Notifications
You must be signed in to change notification settings - Fork 93
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
[ENH] - Include "--attempt-fixes" flag from Nebari upgrade CLI in upgrade steps logic #2839
base: main
Are you sure you want to change the base?
[ENH] - Include "--attempt-fixes" flag from Nebari upgrade CLI in upgrade steps logic #2839
Conversation
2b5260e
to
d053d04
Compare
This should probably be a draft PR if you still have questions about the implementation |
d053d04
to
47df80c
Compare
@smokestacklightnin can you also make sure the tests are passing? |
…adeStep._version_specific_upgrade`
…ep.update_image_tag`
4807612
to
239c419
Compare
adade08
to
d7520ed
Compare
@marcelovilla All tests are passing. There is only one test that fails because it needs monkeypatching (CC: @viniciusdc). I have |
@smokestacklightnin I think that should have been addressed by #2879. Or am I confusing tests here? |
default="N", | ||
).lower() | ||
== "y" | ||
# This needs to be monkeypatched and will be addressed in a future PR. Until then, this causes test failures. |
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.
I believe this has been solved in https://github.com/nebari-dev/nebari/pull/2879/files
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.
@smokestacklightnin I just tested an upgrade and it seems the flag is working as expected 🚀
The only thing I want to sort out before approving the PR is the test you xfailed for now. Is that still needed?
Reference Issues or PRs
This resolves #2761 by passing the
attempt_fixes
variable from the command line option to the upgrade methods.close #2761
What does this implement/fix?
Put a
x
in the boxes that applyTesting
How to test this PR?
Run
nebari upgrade --attempt-fixes
and verify that the upgrade is successful without prompts from the user.Any other comments?