Skip to content

Commit

Permalink
roachtest: export $root for roachtest weekly
Browse files Browse the repository at this point in the history
The `roachtest_compile_bits.sh` now require `$root` to be defined, see cockroachdb#124592
for details. This change adds the required exports to the
`roachtest_weekly_impl.sh` script.

Release Note: None
Epic: None
  • Loading branch information
herkolategan committed Jun 1, 2024
1 parent d77b6e7 commit c44df0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/teamcity/cockroach/nightlies/roachtest_weekly_impl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c44df0d

Please sign in to comment.