Skip to content

cli: conditionally allow version skipping#121952

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
RaduBerinde:skip-ver-env-var
Apr 9, 2024
Merged

cli: conditionally allow version skipping#121952
craig[bot] merged 1 commit intocockroachdb:masterfrom
RaduBerinde:skip-ver-env-var

Conversation

@RaduBerinde
Copy link
Copy Markdown
Member

Currently the code allows upgrading from TWO previous releases (23.1 and 23.2); however, for now we only want to allow skipping a version experimentally.

This commit changes the cli code to set the minimum supported version to PreviousRelease by default, or to MinSupported when a special env var is used.

Epic: none
Release note: None

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Currently the code allows upgrading from TWO previous releases (23.1
and 23.2); however, for now we only want to allow skipping a version
experimentally.

This commit changes the cli code to set the minimum supported version
to `PreviousRelease` by default, or to `MinSupported` when a special
env var is used.

Epic: none
Release note: None
@RaduBerinde RaduBerinde marked this pull request as ready for review April 8, 2024 19:38
@RaduBerinde RaduBerinde requested review from a team as code owners April 8, 2024 19:38
@RaduBerinde RaduBerinde requested review from msbutler and nkodali and removed request for a team April 8, 2024 19:38
@RaduBerinde
Copy link
Copy Markdown
Member Author

I took over #121011, I only made a couple of minor test fixes on top of that.

Copy link
Copy Markdown
Collaborator

@celiala celiala left a comment

Choose a reason for hiding this comment

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

Thank you for taking this over the line 💟 🙏

:lgtm:

Reviewed 9 of 9 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @andyyang890, @msbutler, and @nkodali)

@RaduBerinde RaduBerinde added the backport-24.1.x Flags PRs that need to be backported to 24.1. label Apr 8, 2024
@RaduBerinde
Copy link
Copy Markdown
Member Author

TFTR!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Apr 9, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-24.1.x Flags PRs that need to be backported to 24.1.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants