Skip to content

Commit

Permalink
2024.9.1 upgrade notes (#2726)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-D-Lewis authored Sep 17, 2024
1 parent a800a5b commit 379736e
Showing 1 changed file with 33 additions and 0 deletions.
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.",
)
rich.print("")

return config


__rounded_version__ = str(rounded_ver_parse(__version__))

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

0 comments on commit 379736e

Please sign in to comment.