From 5c4367d068db625f1c5d03bfdaf0cd9d7974d402 Mon Sep 17 00:00:00 2001 From: bhandarivijay Date: Sun, 4 Jan 2026 14:49:53 +0000 Subject: [PATCH] Migrate gsutil usage to gcloud storage --- kokoro/integration_test.go | 2 +- kokoro/integration_test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kokoro/integration_test.go b/kokoro/integration_test.go index 5fcaf22..f939af1 100644 --- a/kokoro/integration_test.go +++ b/kokoro/integration_test.go @@ -91,7 +91,7 @@ retry pipenv install > /dev/null # Fetch agent. mkdir /tmp/agent -retry gsutil cp gs://{{.GCSLocation}}/* /tmp/agent +retry gcloud storage cp gs://{{.GCSLocation}}/* /tmp/agent # Install agent. retry pipenv run {{.PythonCommand}} -m pip install --ignore-installed "$(find /tmp/agent -name "google_cloud_profiler*")" diff --git a/kokoro/integration_test.sh b/kokoro/integration_test.sh index bea3a93..fce0b41 100644 --- a/kokoro/integration_test.sh +++ b/kokoro/integration_test.sh @@ -42,7 +42,7 @@ python3 setup.py sdist AGENT_PATH=$(find "$PWD/dist" -name "google_cloud_profiler*") GCS_LOCATION="cprof-e2e-artifacts/python/kokoro/${KOKORO_JOB_TYPE}/${KOKORO_BUILD_NUMBER}" retry gcloud auth activate-service-account --key-file="${GOOGLE_APPLICATION_CREDENTIALS}" -retry gsutil cp "${AGENT_PATH}" "gs://${GCS_LOCATION}/" +retry gcloud storage cp "${AGENT_PATH}" "gs://${GCS_LOCATION}/" # Run test. cd "kokoro"