From 3433f8656338d7f6db5705b0e1951e272ac3455a Mon Sep 17 00:00:00 2001 From: Rail Aliiev Date: Wed, 15 Nov 2023 08:53:08 -0500 Subject: [PATCH] release: fix release qualification script Previously, the script tried to copy files to the `bin` directory, but there was no guaranty that the directory existed. This PR fixes the assumption by creating the `bin` directory. Epic: none Release note: None --- .../internal/release/process/roachtest-release-qualification.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build/teamcity/internal/release/process/roachtest-release-qualification.sh b/build/teamcity/internal/release/process/roachtest-release-qualification.sh index 1668af053d37..07c33ce49628 100755 --- a/build/teamcity/internal/release/process/roachtest-release-qualification.sh +++ b/build/teamcity/internal/release/process/roachtest-release-qualification.sh @@ -39,6 +39,7 @@ chmod +x cockroach run_bazel <<'EOF' bazel build --config ci --config crosslinux //pkg/cmd/workload //pkg/cmd/roachtest //pkg/cmd/roachprod BAZEL_BIN=$(bazel info bazel-bin --config ci --config crosslinux) +mkdir -p bin cp $BAZEL_BIN/pkg/cmd/roachprod/roachprod_/roachprod bin cp $BAZEL_BIN/pkg/cmd/roachtest/roachtest_/roachtest bin cp $BAZEL_BIN/pkg/cmd/workload/workload_/workload bin