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: new flag to skip phases of upgrade #2310

Merged
merged 8 commits into from
Sep 8, 2023
Merged

Conversation

elchead
Copy link
Contributor

@elchead elchead commented Sep 6, 2023

Context

Currently it is not possible to select / deselect specific upgrades (terraform, helm, k8s, node image).

Proposed change(s)

  • add a new --skip-phases flag that accepts a list of phases to skip during the upgrade

Related issue

Checklist

  • Update docs
  • Add labels (e.g., for changelog category)
  • Is PR title adequate for changelog?
  • Link to Milestone

@elchead elchead added the feature This introduces new functionality label Sep 6, 2023
@elchead elchead added this to the v2.11.0 milestone Sep 6, 2023
@netlify
Copy link

netlify bot commented Sep 6, 2023

Deploy Preview for constellation-docs canceled.

Name Link
🔨 Latest commit 98f99f5
🔍 Latest deploy log https://app.netlify.com/sites/constellation-docs/deploys/64fb0063aae3a300081cca1e

@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2023

Coverage report

Package Old New Trend
cli/internal/cmd 54.20% 55.30% ↗️
cli/internal/kubecmd 57.70% 58.00% ↗️

cli/internal/cmd/upgradeapply.go Outdated Show resolved Hide resolved
cli/internal/cmd/upgradeapply.go Outdated Show resolved Hide resolved
cli/internal/cmd/upgradeapply.go Outdated Show resolved Hide resolved
Copy link
Member

@daniel-weisse daniel-weisse left a comment

Choose a reason for hiding this comment

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

Can you add a ticket to document this feature?

cli/internal/cmd/upgradeapply.go Outdated Show resolved Hide resolved
@derpsteb derpsteb removed their request for review September 7, 2023 09:31
cli/internal/cmd/upgradeapply.go Show resolved Hide resolved
cli/internal/cmd/upgradeapply.go Outdated Show resolved Hide resolved
cli/internal/cmd/upgradeapply.go Outdated Show resolved Hide resolved
Copy link
Member

@thomasten thomasten left a comment

Choose a reason for hiding this comment

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

Code LGTM. (I haven't tried it out.)

@elchead elchead merged commit 5960025 into main Sep 8, 2023
7 of 11 checks passed
@elchead elchead deleted the feat/cli/skip-phases-upgrade branch September 8, 2023 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This introduces new functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants