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
This commit is contained in:
Xin LI committed 2026-08-08 00:13:40 -07:00
1 parent 5017a241b9
commit 4174cc2f69
1 file changed
+2 -2
+2 -2
View File
@@ -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} \