Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
roachprod: add COCKROACH_UPGRADE_TO_DEV_VERSION to DefaultEnvVars
Recent changes to cockroach_versions (logic) now require setting COCKROACH_UPGRADE_TO_DEV_VERSION environment variable in order to allow upgrading a stable release data-dir to a dev. version. The PR [1] which introduced this env. var. did not correctly backport the change to all the roachtests which perform this type of upgrade. Since all roachtests which exercise upgrade paths are intended to test this upgrade scenario, we set COCKROACH_UPGRADE_TO_DEV_VERSION by default in roachprod instead of polluting the roachtests with more config. settings. Consequently, MakeClusterSettings now returns the default ClusterSettings which includes COCKROACH_UPGRADE_TO_DEV_VERSION; generateStartCmd ensures it's passed into cockroach env. via start.sh. Release note: None Release justification: bug fix in roachtests. Resolves: cockroachdb#87675 cockroachdb#87687 [1] cockroachdb#87468
- Loading branch information