Skip to content

Commit 7395c75

Browse files
committed
ci: copy roachtest perf artifact to designated (blob) path
Roachtest perf artifacts are bucketed by `cpu_arch`. The convention is to suffix the artifacts' release branch with `cpu_arch`. E.g., `gs://cockroach-nightly-ibm/artifacts-s390x` corresponds to all the `s390x` perf runs on `master`. This hack allows `roachperf` to pull all artifacts by `cpu_arch` and link them separately. This PR just adds the `elif` clause for the previously missing `s390x` case. The rest is tackled in `roachperf`. Epic: none Release note: None
1 parent bea2c36 commit 7395c75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/teamcity/util/roachtest_util.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ function upload_stats {
8181
artifacts_dir="${artifacts_dir}-arm64"
8282
elif [[ "${f}" == *"/cpu_arch=fips/"* ]]; then
8383
artifacts_dir="${artifacts_dir}-fips"
84+
elif [[ "${f}" == *"/cpu_arch=s390x/"* ]]; then
85+
artifacts_dir="${artifacts_dir}-s390x"
8486
fi
8587
gsutil cp "${f}" "gs://${bucket}/${artifacts_dir}/${stats_dir}/${f}"
8688
fi

0 commit comments

Comments
 (0)