git: 4174cc2f69d3 - main - release/Makefile.gce: migrate gsutil usages to gcloud CLI

Xin LI <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a76d748.3f2d4.d5ed97e__48899.4017288618$1786173275$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by delphij:

URL: https://cgit.FreeBSD.org/src/commit/?id=4174cc2f69d36105a735b19fadc9c18497b02b1a

commit 4174cc2f69d36105a735b19fadc9c18497b02b1a
Author:     Xin LI <[email protected]>
AuthorDate: 2026-07-26 02:17:55 +0000
Commit:     Xin LI <[email protected]>
CommitDate: 2026-08-08 07:13:40 +0000

    release/Makefile.gce: migrate gsutil usages to gcloud CLI
    
    Google Cloud recommends migrating from gsutil to gcloud storage CLI.
    Update gce-do-upload target to use `gcloud storage buckets create` and
    `gcloud storage cp` instead of `gsutil mb` and `gsutil cp` commands.
    
    PR:             conf/297016
    Reviewed by:    lwhsu
    MFC after:      3 days
    Differential Revision: https://reviews.freebsd.org/D58464
---
 release/Makefile.gce | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/release/Makefile.gce b/release/Makefile.gce
index f5c657c3c103..e34b82e616be 100644
--- a/release/Makefile.gce
+++ b/release/Makefile.gce
@@ -78,8 +78,8 @@ gce-do-package-${_FS}:
 
 gce-do-upload-${_FS}:
 	@# Fallthrough in case the bucket already exists.
-	/usr/local/bin/gsutil mb gs://${GCE_BUCKET} || true
-	/usr/local/bin/gsutil cp ${.OBJDIR}/${GCE_TARGET_${_FS}}.tar.gz \
+	/usr/local/bin/gcloud storage buckets create gs://${GCE_BUCKET} || true
+	/usr/local/bin/gcloud storage cp ${.OBJDIR}/${GCE_TARGET_${_FS}}.tar.gz \
 		gs://${GCE_BUCKET}/
 	/usr/local/bin/gcloud compute images create ${GCE_TARGET_${_FS}} \
 		--architecture=${GCE_ARCH} \
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.