File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ sudo apt-get update && sudo apt-get install -y git python3-pip python3-venv
66# Clone the repository and checkout the specific commit from the build trigger.
77git clone https://github.com/googleapis/python-storage.git
88cd python-storage
9+ git fetch origin " refs/pull/${_PR_NUMBER} /head"
910git checkout ${COMMIT_SHA}
1011
1112
Original file line number Diff line number Diff line change 5050 # Execute the script on the VM via SSH.
5151 # Capture the exit code to ensure cleanup happens before the build fails.
5252 set +e
53- gcloud compute ssh gcsfs-test-vm-${_SHORT_BUILD_ID} --zone=${_ZONE} --internal-ip --command="COMMIT_SHA=${COMMIT_SHA} _ZONAL_BUCKET=${_ZONAL_BUCKET} bash run_zonal_tests.sh"
53+ gcloud compute ssh gcsfs-test-vm-${_SHORT_BUILD_ID} --zone=${_ZONE} --internal-ip --command="COMMIT_SHA=${COMMIT_SHA} _ZONAL_BUCKET=${_ZONAL_BUCKET} _PR_NUMBER=${_PR_NUMBER} bash run_zonal_tests.sh"
5454 EXIT_CODE=$?
5555 set -e
5656
@@ -67,4 +67,4 @@ timeout: "3600s" # 60 minutes
6767options :
6868 logging : CLOUD_LOGGING_ONLY
6969 pool :
70- name : " projects/${PROJECT_ID}/locations/us-central1/workerPools/cloud-build-worker-pool"
70+ name : " projects/${PROJECT_ID}/locations/us-central1/workerPools/cloud-build-worker-pool"
You can’t perform that action at this time.
0 commit comments