File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1-
1+ #! /bin/bash
22set -euxo pipefail
33echo ' --- 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.
77git clone --no-checkout --depth 1 --sparse --filter=blob:none https://github.com/googleapis/python-docs-samples.git
88cd python-docs-samples
9- git sparse-checkout set main/ storage
9+ git sparse-checkout set storage
1010git fetch origin " refs/pull/${_PR_NUMBER} /head"
1111git checkout ${COMMIT_SHA}
12- cd main/ storage
12+ cd storage
1313
1414
1515echo ' --- Installing Python and dependencies on VM ---'
@@ -28,4 +28,4 @@ export RUN_ZONAL_SYSTEM_TESTS=True
2828export GCE_METADATA_MTLS_MODE=None
2929CURRENT_ULIMIT=$( ulimit -n)
3030echo ' --- Running Zonal tests on VM with ulimit set to ---' $CURRENT_ULIMIT
31- pytest -vv -s --log-format=' %(asctime)s %(levelname)s %(message)s' --log-date-format=' %H:%M:%S' samples/snippets/zonal_buckets/zonal_snippets_test.py
31+ pytest -vv -s --log-format=' %(asctime)s %(levelname)s %(message)s' --log-date-format=' %H:%M:%S' samples/snippets/zonal_buckets/zonal_snippets_test.py
You can’t perform that action at this time.
0 commit comments