git: c66a923cd12a - stable/14 - release/Makefile.gce: migrate gsutil usages to gcloud CLI
Xin LI <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.src |
|---|---|
| Message-ID | <6a7a9216.33ab1.4a6f92fb__34877.4784871907$1786417698$gmane$org@gitrepo.freebsd.org> |
The branch stable/14 has been updated by delphij: URL: https://cgit.FreeBSD.org/src/commit/?id=c66a923cd12a41ab1e31f3e9522cfba19bc66d48 commit c66a923cd12a41ab1e31f3e9522cfba19bc66d48 Author: Xin LI <[email protected]> AuthorDate: 2026-07-26 02:17:55 +0000 Commit: Xin LI <[email protected]> CommitDate: 2026-08-11 03:07:36 +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 22ba90c80363..7f66a9e5fc26 100644 --- a/release/Makefile.gce +++ b/release/Makefile.gce @@ -80,8 +80,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} \