release-23.1: build: add microbenchmark script for roachprod-microbench #102966
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport 1/1 commits from #96723.
/cc @cockroachdb/release
Add a new nightlies teamcity build script that utilises the
dev test-binaries
and theroachprod-microbench
command. The script can be used to store a microbenchmarks checkpoint for a givengit
revision to a bucket in gcs, by specifying a publish path. Aroachprod
cluster is created by the script, as specified by environment variables. The clean-up is managed by TeamCity.Alternatively two binaries can be compared by supplying the related comparison binaries environment variables. This compare directory should be omitted in this case. The script requires a gcs path to download the comparison binaries from. The running time will be considerably longer, but there will be less variance in the results.
Subsequent runs can then be made with the same script to compare against a previous checkpoint, by supplying a compare path. The script takes numerous environment variables to configure the microbenchmarks cluster and arguments. These can be tweaked to configure different run variations and packages to target.
Resolves: #93893
See also: #90837, #91184
Epic: CRDB-20903
Release note: None