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}"