Skip to content

Commit 5c4367d

Browse files
Migrate gsutil usage to gcloud storage
1 parent 32d38bc commit 5c4367d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kokoro/integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ retry pipenv install > /dev/null
9191
9292
# Fetch agent.
9393
mkdir /tmp/agent
94-
retry gsutil cp gs://{{.GCSLocation}}/* /tmp/agent
94+
retry gcloud storage cp gs://{{.GCSLocation}}/* /tmp/agent
9595
9696
# Install agent.
9797
retry pipenv run {{.PythonCommand}} -m pip install --ignore-installed "$(find /tmp/agent -name "google_cloud_profiler*")"

kokoro/integration_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ python3 setup.py sdist
4242
AGENT_PATH=$(find "$PWD/dist" -name "google_cloud_profiler*")
4343
GCS_LOCATION="cprof-e2e-artifacts/python/kokoro/${KOKORO_JOB_TYPE}/${KOKORO_BUILD_NUMBER}"
4444
retry gcloud auth activate-service-account --key-file="${GOOGLE_APPLICATION_CREDENTIALS}"
45-
retry gsutil cp "${AGENT_PATH}" "gs://${GCS_LOCATION}/"
45+
retry gcloud storage cp "${AGENT_PATH}" "gs://${GCS_LOCATION}/"
4646

4747
# Run test.
4848
cd "kokoro"

0 commit comments

Comments
 (0)