Skip to content

Commit

Permalink
Update upgrade command for 2024.7.1 (#2594)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
viniciusdc and pre-commit-ci[bot] authored Jul 29, 2024
1 parent aa63066 commit f2f5a5b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/_nebari/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,29 @@ def _version_specific_upgrade(
return config


class Upgrade_2024_7_1(UpgradeStep):
"""
Upgrade step for Nebari version 2024.7.1
Note:
- Digital Ocean deprecation warning.
"""

version = "2024.7.1"

@override
def _version_specific_upgrade(
self, config, start_version, config_filename: Path, *args, **kwargs
):
if 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 f2f5a5b

Please sign in to comment.