From fde694304c02343eac3f72f7d86542247f9d07f4 Mon Sep 17 00:00:00 2001 From: Sophia Guo Date: Mon, 3 Feb 2025 15:35:19 -0500 Subject: [PATCH] Update external test dir as absolute path --- scripts/getSHAs.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/getSHAs.sh b/scripts/getSHAs.sh index 4861a6d8..a16e45c3 100755 --- a/scripts/getSHAs.sh +++ b/scripts/getSHAs.sh @@ -74,9 +74,11 @@ 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 + propertiesFile="$subDir/test.properties" testDir=$(realpath "$(dirname "$subDir")") - propertiesFile="$testDir/test.properties" + echo "testdir is ${testDir}" if [[ -f "$propertiesFile" ]]; then # read github_url and tag_version github_url=$(grep '^github_url=' "$propertiesFile" | cut -d"=" -f2 | tr -d '"')