File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
packages/google-cloud-storage/cloudbuild Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,13 @@ echo '--- Installing git and cloning repository on VM ---'
44sudo 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
1012git checkout ${COMMIT_SHA}
13+ cd packages/google-cloud-storage
1114
1215
1316echo ' --- Installing Python and dependencies on VM ---'
You can’t perform that action at this time.
0 commit comments