From c44df0dab8f1e7356856a0cd0261437aa3a08513 Mon Sep 17 00:00:00 2001 From: Herko Lategan Date: Sat, 1 Jun 2024 11:10:43 +0100 Subject: [PATCH] roachtest: export $root for roachtest weekly The `roachtest_compile_bits.sh` now require `$root` to be defined, see #124592 for details. This change adds the required exports to the `roachtest_weekly_impl.sh` script. Release Note: None Epic: None --- build/teamcity/cockroach/nightlies/roachtest_weekly_impl.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/teamcity/cockroach/nightlies/roachtest_weekly_impl.sh b/build/teamcity/cockroach/nightlies/roachtest_weekly_impl.sh index c4cddafd3ada..2ffee0037d9d 100755 --- a/build/teamcity/cockroach/nightlies/roachtest_weekly_impl.sh +++ b/build/teamcity/cockroach/nightlies/roachtest_weekly_impl.sh @@ -4,7 +4,10 @@ set -exuo pipefail dir="$(dirname $(dirname $(dirname $(dirname "${0}"))))" +# N.B. export variables like `root` s.t. they can be used by scripts called below. +set -a source "$dir/teamcity-support.sh" +set +a if [[ ! -f ~/.ssh/id_rsa.pub ]]; then ssh-keygen -q -C "roachtest-weekly-bazel $(date)" -N "" -f ~/.ssh/id_rsa