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

cmd/roachtest: fix --cluster for new roachprod #72749

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

ajwerner
Copy link
Contributor

The roachprod list command no longer takes a positional argument to filter
the results. This commit adopts the new --pattern flag in roachtest. This
is important when providing your own cluster for roachtest with the --cluster
flag.

Release note: None

@ajwerner ajwerner requested a review from healthy-pod November 15, 2021 15:08
@ajwerner ajwerner requested a review from a team as a code owner November 15, 2021 15:08
@ajwerner ajwerner requested review from erikgrinaker and removed request for a team November 15, 2021 15:08
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@erikgrinaker erikgrinaker left a comment

Choose a reason for hiding this comment

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

Might as well anchor the regexp with ^ and $ and escape the name with regexp.QuoteMeta() too. Shouldn't matter in the typical case though.

The `roachprod list` command no longer takes a positional argument to filter
the results. This commit adopts the new `--pattern` flag in `roachtest`. This
is important when providing your own cluster for roachtest with the `--cluster`
flag.

Release note: None
@ajwerner ajwerner force-pushed the ajwerner/filter-for-roachtest branch from 1f967d8 to a79f290 Compare November 15, 2021 16:37
@ajwerner
Copy link
Contributor Author

Might as well anchor the regexp with ^ and $ and escape the name with regexp.QuoteMeta() too. Shouldn't matter in the typical case though.

Done.

@ajwerner
Copy link
Contributor Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Nov 15, 2021

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Nov 16, 2021

Build succeeded:

@craig craig bot merged commit cb5d510 into cockroachdb:master Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants