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

drtprod: use roachprod Initialize instead of shell #138154

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

nameisbhaskar
Copy link
Contributor

With the recent refactoring of roachprod, it is possible to directly invoke the roachprod go code rather than using the shell command. This PR changes the same. Also, this PR changes all the scripts in drtprod to use "drtprod" binary instead of "roachprod" as this can work without compiling rochprod.

Note that the YAML processor still uses the shell command as the input is not cobra. So, this becomes a bigger change.

Epic: none
Release note: None

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@nameisbhaskar nameisbhaskar force-pushed the drtprod-roachprod branch 2 times, most recently from 9201767 to bd90630 Compare January 3, 2025 05:48
@nameisbhaskar nameisbhaskar changed the title =drtprod: use roachprod Initialize instead of shell drtprod: use roachprod Initialize instead of shell Jan 3, 2025
With the recent refactoring of roachprod, it is possible to directly invoke the roachprod go code rather than using the shell command. This PR changes the same. Also, this PR changes all the scripts in drtprod to use "drtprod" binary instead of "roachprod" as this can work without compiling rochprod.

Note that the YAML processor still uses the shell command as the input is not cobra. So, this becomes a bigger change.

Epic: none
Release note: None
@nameisbhaskar nameisbhaskar marked this pull request as ready for review January 4, 2025 16:24
@nameisbhaskar nameisbhaskar requested a review from a team as a code owner January 4, 2025 16:24
@nameisbhaskar nameisbhaskar requested review from vidit-bhat and csgourav and removed request for a team January 4, 2025 16:24
Copy link
Contributor

@shailendra-patel shailendra-patel left a comment

Choose a reason for hiding this comment

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

Nice Work. LGTM!

@nameisbhaskar
Copy link
Contributor Author

Thanks @shailendra-patel for reviewing the change!

@nameisbhaskar
Copy link
Contributor Author

bors r=@shailendra-patel

@craig craig bot merged commit 9da6ffe into cockroachdb:master Jan 8, 2025
22 checks passed
@nameisbhaskar nameisbhaskar deleted the drtprod-roachprod branch January 21, 2025 12:41
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