Skip to content

Commit a381c05

Browse files
committed
chore: update run_zonal_tests.sh to use google-cloud-python repo and correct directory
1 parent f54605e commit a381c05

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/google-cloud-storage/cloudbuild/run_zonal_tests.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ echo '--- Installing git and cloning repository on VM ---'
44
sudo apt-get update && sudo apt-get install -y git python3-pip python3-venv
55

66
# Clone the repository and checkout the specific commit from the build trigger.
7-
git clone https://github.com/googleapis/python-storage.git
8-
cd python-storage
9-
git fetch origin "refs/pull/${_PR_NUMBER}/head"
7+
git clone https://github.com/googleapis/google-cloud-python.git
8+
cd google-cloud-python
9+
if [ -n "${_PR_NUMBER:-}" ]; then
10+
git fetch origin "refs/pull/${_PR_NUMBER}/head"
11+
fi
1012
git checkout ${COMMIT_SHA}
13+
cd packages/google-cloud-storage
1114

1215

1316
echo '--- Installing Python and dependencies on VM ---'

0 commit comments

Comments
 (0)