Date: Tue, 11 Aug 2026 03:07:19 +0000 From: "Xin LI" <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 164a5a08767e - stable/15 - release/Makefile.gce: migrate gsutil usages to gcloud CLI Message-ID: <6a7a91e7.33a24.756d8a10@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by delphij: URL: https://cgit.FreeBSD.org/src/commit/?id=164a5a08767e4f864164506ca5597eb42035ee1a commit 164a5a08767e4f864164506ca5597eb42035ee1a Author: Xin LI <delphij@FreeBSD.org> AuthorDate: 2026-07-26 02:17:55 +0000 Commit: Xin LI <delphij@FreeBSD.org> CommitDate: 2026-08-11 03:06:54 +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 (cherry picked from commit 4174cc2f69d36105a735b19fadc9c18497b02b1a) --- 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} \home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a7a91e7.33a24.756d8a10>
