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

2024.9.1 upgrade notes #2726

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions src/_nebari/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,39 @@ def _version_specific_upgrade(
return config


class Upgrade_2024_9_1(UpgradeStep):
"""
Upgrade step for Nebari version 2024.9.1

"""

version = "2024.9.1"

@override
def _version_specific_upgrade(
self, config, start_version, config_filename: Path, *args, **kwargs
):
if config.get("provider", "") == ProviderEnum.azure.value:
rich.print("\n ⚠️ Upgrade Warning ⚠️")
rich.print(
textwrap.dedent(
"""
-> Please ensure no users are currently logged in prior to deploying this update. The node groups will be destroyed and recreated during the deployment process causing a downtime of approximately 15 minutes.

Due to an upstream issue, Azure Nebari deployments may raise an error when deploying for the first time after this upgrade. Waiting for a few minutes and then re-running `nebari deploy` should resolve the issue. More info can be found at [green][link=https://github.com/nebari-dev/nebari/issues/2640]issue #2640[/link][/green]."""
),
)
rich.print("")
elif config.get("provider", "") == ProviderEnum.do.value:
rich.print("\n ⚠️ Deprecation Warning ⚠️")
rich.print(
"-> Digital Ocean support is currently being deprecated and will be removed in a future release.",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fair to leave this in til in each release until we actually deprecate Digital Ocean.

)
rich.print("")

return config


__rounded_version__ = str(rounded_ver_parse(__version__))

# Manually-added upgrade steps must go above this line
Expand Down
Loading