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

cli: remove old migration steps and id-file references #2440

Merged
merged 2 commits into from
Oct 13, 2023

Conversation

daniel-weisse
Copy link
Member

@daniel-weisse daniel-weisse commented Oct 11, 2023

Context

ID file is not used anymore, and some helm/kubernetes migrations are no longer necessary.

Proposed change(s)

  • Remove ID file
  • Remove helm/kubernetes migration

Related issue

@daniel-weisse daniel-weisse added the no changelog Change won't be listed in release changelog label Oct 11, 2023
@daniel-weisse daniel-weisse added this to the v2.13.0 milestone Oct 11, 2023
@netlify
Copy link

netlify bot commented Oct 11, 2023

Deploy Preview for constellation-docs ready!

Name Link
🔨 Latest commit 33fca51
🔍 Latest deploy log https://app.netlify.com/sites/constellation-docs/deploys/6527ffa8352a31000884efa2
😎 Deploy Preview https://deploy-preview-2440--constellation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@elchead
Copy link
Contributor

elchead commented Oct 11, 2023

linked the AB ticket

Copy link
Contributor

@elchead elchead left a comment

Choose a reason for hiding this comment

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

pls link an upgrade test

@@ -513,34 +463,6 @@ func (u *upgradeApplyCmd) handleServiceUpgrade(
return nil
}

// migrateFrom2_10 applies migrations necessary for upgrading from v2.10 to v2.11
// TODO(v2.11): Remove this function after v2.11 is released.
func migrateFrom2_10(ctx context.Context, kubeUpgrader kubernetesUpgrader) error {
Copy link
Member

Choose a reason for hiding this comment

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

We decided at some point to make such functions nops, to act as guide for future migration additions. But I am also fine with removing them.

@daniel-weisse daniel-weisse force-pushed the ref/cli/id-file-removal branch from 3b3da15 to 33fca51 Compare October 12, 2023 14:16
@github-actions
Copy link
Contributor

Coverage report

Package Old New Trend
cli/internal/cmd 55.00% 54.80% ↘️
cli/internal/kubecmd 58.00% 65.00% ↗️
cli/internal/state 94.70% 60.00% ↘️
internal/constants [no test files] [no test files] 🚧

@daniel-weisse
Copy link
Member Author

daniel-weisse commented Oct 13, 2023

GCP upgrade ✔️
Azure upgrade ✔️
AWS upgrade ✔️

@daniel-weisse daniel-weisse merged commit ab8a17e into main Oct 13, 2023
11 checks passed
@daniel-weisse daniel-weisse deleted the ref/cli/id-file-removal branch October 13, 2023 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog Change won't be listed in release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants