Skip to content

Commit

Permalink
Update external test dir as absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
sophia-guo committed Feb 3, 2025
1 parent 4718d61 commit 066d00e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/getSHAs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ getSHAs()
# Get SHA for external tests by test.properties
if [[ "$BUILD_LIST" == *"external"* ]]; then
for subDir in "$TEST_ROOT"/external/*/; do
# find "$subDir" -type f -name 'Dockerfile.*'
if [[ $(find "$subDir" -type f -name 'Dockerfile.*') ]]; then
testDir=$(realpath "$(dirname "$subDir")")
propertiesFile="$testDir/test.properties"
propertiesFile="$subDir/test.properties"
testDir=$(realpath "$subDir")
if [[ -f "$propertiesFile" ]]; then
# read github_url and tag_version
github_url=$(grep '^github_url=' "$propertiesFile" | cut -d"=" -f2 | tr -d '"')
Expand Down

0 comments on commit 066d00e

Please sign in to comment.