From 1f5b7f6c76f3962fb515783d06f7f64ab7268ffa Mon Sep 17 00:00:00 2001 From: bhandarivijay Date: Wed, 7 Jan 2026 06:20:31 +0000 Subject: [PATCH 1/2] 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}" From 0ab56c4b8f6e3079f8cf00f7883df4ed5cbabfcc Mon Sep 17 00:00:00 2001 From: gurusai-voleti Date: Thu, 16 Apr 2026 11:59:22 +0530 Subject: [PATCH 2/2] chore: Update build-ruby-runtime-pipeline.sh --- build-ruby-runtime-pipeline.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-ruby-runtime-pipeline.sh b/build-ruby-runtime-pipeline.sh index 7a04148..2441c42 100755 --- a/build-ruby-runtime-pipeline.sh +++ b/build-ruby-runtime-pipeline.sh @@ -186,8 +186,8 @@ sed -e "s|@@GENERATE_DOCKERFILE_IMAGE@@|${GENERATE_DOCKERFILE_IMAGE}|g;\ s|@@DEFAULT_RUBY_VERSION@@|${DEFAULT_RUBY_VERSION}|g" \ < ${DIRNAME}/ruby-pipeline/ruby-template.yaml.in > ${DIRNAME}/tmp/ruby-${RUNTIME_VERSION}.yaml gcloud storage cp ${DIRNAME}/tmp/ruby-${RUNTIME_VERSION}.yaml ${VERSIONED_GS_URL} -echo "**** Uploaded runtime config to ${VERSIONED_GS_URL}" +echo "***** Uploaded runtime config to ${VERSIONED_GS_URL}" if [ "${STAGING_FLAG}" = "true" ]; then gcloud storage cp ${VERSIONED_GS_URL} ${STAGING_GS_URL} - echo "**** Also promoted runtime config to ${STAGING_GS_URL}" + echo "***** Also promoted runtime config to ${STAGING_GS_URL}" fi