Skip to content

roachprod: allow easy upgrading #97311

@renatolabs

Description

@renatolabs

A lot of people at Cockroach Labs use roachprod to create and manage clusters. However, there's currently no convenient way to upgrade the roachprod binary other than pulling the latest changes from the cockroach repo and building it locally. This is not ideal for a few reasons: it's easy to forget; it's distracting and can take quite some time; requires users to have all dependencies installed even if they just want to use the binary.

We want to allow everyone to easily upgrade roachprod so that they can get the latest bug fixes and improvements. Some ideas (discussed in an internal thread):

  • Manage releases for roachprod
  • Make it available through homebrew
  • Build nightly binaries available somewhere (GCS) + a convenient way to download the latest binary.

Update: we already have CI builds of roachprod, so we should probably use that. All we need is a convenient way to download the new binaries and replace the old ones.

Jira issue: CRDB-24628
Epic: CRDB-10428

Metadata

Metadata

Assignees

Labels

C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-testengTestEng Team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions