Skip to content

Commit 1cd96e8

Browse files
committed
fix: unbound var release_dir fixed
1 parent 3301028 commit 1cd96e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/scripts/s3/run-integration-s3-compat.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ set -euo pipefail
44

55
# Get the directory where this script is located
66
script_dir="$( cd "$(dirname "${0}")" && pwd )"
7+
repo_root="$(cd "${script_dir}/../../.." && pwd)"
8+
79

810
# Source utils from the same directory
911
source "${script_dir}/utils.sh"
@@ -20,7 +22,7 @@ export BUCKET_NAME=${bucket_name}
2022
export S3_HOST=${s3_endpoint_host}
2123
export S3_PORT=${s3_endpoint_port}
2224

23-
pushd "${release_dir}" > /dev/null
25+
pushd "${repo_root}" > /dev/null
2426
echo -e "\n running tests with $(go version)..."
2527
scripts/ginkgo -r --focus="S3 COMPATIBLE" s3/integration/
2628
popd > /dev/null

0 commit comments

Comments
 (0)