Skip to content

Commit

Permalink
ci: fix private roachtest nightly
Browse files Browse the repository at this point in the history
It appears a change to TC wrapper scripts in [1]
may have caused the `root` var. to become unbound.
This PR adds the missing `source` statement.

[1] #124592

Epic: none

Release note: None
  • Loading branch information
srosenberg committed Nov 21, 2024
1 parent 6af5017 commit c8bc807
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ set -exuo pipefail

dir="$(dirname $(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 "private-roachtest-nightly-bazel $(date)" -N "" -f ~/.ssh/id_rsa
fi
Expand Down

0 comments on commit c8bc807

Please sign in to comment.