From 285406afca50b7d0025f60184dfffb0e8704c546 Mon Sep 17 00:00:00 2001 From: gurusai-voleti Date: Wed, 7 Jan 2026 07:00:00 +0000 Subject: [PATCH] chore: Migrate gsutil usage to gcloud storage --- build-ruby-runtime-pipeline.sh | 4 ++-- release-ruby-runtime-pipeline.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build-ruby-runtime-pipeline.sh b/build-ruby-runtime-pipeline.sh index 31aa7da..7a04148 100755 --- a/build-ruby-runtime-pipeline.sh +++ b/build-ruby-runtime-pipeline.sh @@ -185,9 +185,9 @@ sed -e "s|@@GENERATE_DOCKERFILE_IMAGE@@|${GENERATE_DOCKERFILE_IMAGE}|g;\ s|@@TAG@@|${IMAGE_TAG}|g;\ s|@@DEFAULT_RUBY_VERSION@@|${DEFAULT_RUBY_VERSION}|g" \ < ${DIRNAME}/ruby-pipeline/ruby-template.yaml.in > ${DIRNAME}/tmp/ruby-${RUNTIME_VERSION}.yaml -gsutil cp ${DIRNAME}/tmp/ruby-${RUNTIME_VERSION}.yaml ${VERSIONED_GS_URL} +gcloud storage cp ${DIRNAME}/tmp/ruby-${RUNTIME_VERSION}.yaml ${VERSIONED_GS_URL} echo "**** Uploaded runtime config to ${VERSIONED_GS_URL}" if [ "${STAGING_FLAG}" = "true" ]; then - gsutil cp ${VERSIONED_GS_URL} ${STAGING_GS_URL} + gcloud storage cp ${VERSIONED_GS_URL} ${STAGING_GS_URL} echo "**** Also promoted runtime config to ${STAGING_GS_URL}" fi diff --git a/release-ruby-runtime-pipeline.sh b/release-ruby-runtime-pipeline.sh index ff39c33..c102204 100755 --- a/release-ruby-runtime-pipeline.sh +++ b/release-ruby-runtime-pipeline.sh @@ -99,5 +99,5 @@ if [ -z "${AUTO_YES}" ]; then fi fi -gsutil cp ${SOURCE_GS_URL} ${RELEASE_GS_URL} +gcloud storage cp ${SOURCE_GS_URL} ${RELEASE_GS_URL} echo "**** Promoted runtime config ${SOURCE_GS_URL} to ${RELEASE_GS_URL}"