From 1a9a202ec240551f603a07079ee0383bed46701e Mon Sep 17 00:00:00 2001 From: bhandarivijay Date: Fri, 9 Jan 2026 07:39:41 +0000 Subject: [PATCH 1/2] Migrate gsutil usage to gcloud storage --- compute/api/startup-script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compute/api/startup-script.sh b/compute/api/startup-script.sh index 806779accf4..fda59f50b3e 100644 --- a/compute/api/startup-script.sh +++ b/compute/api/startup-script.sh @@ -30,8 +30,8 @@ wget $IMAGE_URL convert * -pointsize 30 -fill white -stroke black -gravity center -annotate +10+40 "$TEXT" output.png # Create a Google Cloud Storage bucket. -gsutil mb gs://$CS_BUCKET +gcloud storage buckets create gs://$CS_BUCKET # Store the image in the Google Cloud Storage bucket and allow all users # to read it. -gsutil cp -a public-read output.png gs://$CS_BUCKET/output.png +gcloud storage cp --predefined-acl=public-read output.png gs://$CS_BUCKET/output.png From abc0678bee2a13984fceb0647372a65c0f0af683 Mon Sep 17 00:00:00 2001 From: gurusai-voleti Date: Tue, 20 Jan 2026 14:48:49 +0530 Subject: [PATCH 2/2] Update startup-script.sh --- compute/api/startup-script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compute/api/startup-script.sh b/compute/api/startup-script.sh index fda59f50b3e..eb9897e39fc 100644 --- a/compute/api/startup-script.sh +++ b/compute/api/startup-script.sh @@ -34,4 +34,4 @@ gcloud storage buckets create gs://$CS_BUCKET # Store the image in the Google Cloud Storage bucket and allow all users # to read it. -gcloud storage cp --predefined-acl=public-read output.png gs://$CS_BUCKET/output.png +gcloud storage cp --predefined-acl=publicRead output.png gs://$CS_BUCKET/output.png