Golang Firebase Hosting Deployment CLI -- Beta Testers Needed

196 views
Skip to first unread message

Tony M

unread,
Oct 17, 2024, 5:22:32 PMOct 17
to Firebase Google Group
For those using firebase-tools or Github Actions to deploy Firebase Hosting sites, we are looking for beta testers for a Golang Firebase Hosting CLI tool based on the Firebase Hosting REST API . It reduces, by over 90%, the deployment costs and runtime for apps with frequent updates.

The standard firebase-tools CLI pushes 250mb which makes storage & CPU an expensive blocker for using Firebase Hosting on restricted environments. 

If you are interested in the new Golang Firebase hosting CLI please email me to be added to the testers. The Repo will be online soon.


Joe Hanley

unread,
Oct 17, 2024, 5:38:10 PMOct 17
to Firebase Google Group
Hey Tony,
(firebaser and maintainer of firebase-tools here) I'd love to be added to the group to test it out! I'm excited to see how you achieved these efficiency improvements.
-Joe

Anthony Metzidis

unread,
Oct 18, 2024, 10:40:11 AMOct 18
to fireba...@googlegroups.com
Awesome Joe!  I'll have the artifacts ready to share in a few days now that I'm decoupling them from another install. 
No wizardry besides using Golang static compile to provide a standalone CLI that doesn't require node , npm & node modules. Currently the debug binary is about 15mb . This helps on cloud run and x-small VMs where iops & vcpu are restricted.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/8b51f1ff-88e7-46c6-b668-52fb52d370aen%40googlegroups.com.

DANIAZ ZAUV

unread,
Oct 18, 2024, 10:40:35 AMOct 18
to fireba...@googlegroups.com

Good day, I am happy to join you and will wait for your reply.


пт, 18 окт. 2024 г., 02:22 Tony M <anthony....@gmail.com>:
For those using firebase-tools or Github Actions to deploy Firebase Hosting sites, we are looking for beta testers for a Golang Firebase Hosting CLI tool based on the Firebase Hosting REST API . It reduces, by over 90%, the deployment costs and runtime for apps with frequent updates.

The standard firebase-tools CLI pushes 250mb which makes storage & CPU an expensive blocker for using Firebase Hosting on restricted environments. 

If you are interested in the new Golang Firebase hosting CLI please email me to be added to the testers. The Repo will be online soon.


--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

Mike Matongo

unread,
Oct 21, 2024, 8:23:50 AMOct 21
to fireba...@googlegroups.com
I would really love to be part of the testing group and get to see how it's done .


From: fireba...@googlegroups.com <fireba...@googlegroups.com> on behalf of Tony M <anthony....@gmail.com>
Sent: Wednesday, October 16, 2024 7:32:19 PM
To: Firebase Google Group <fireba...@googlegroups.com>
Subject: [Firebase] Golang Firebase Hosting Deployment CLI -- Beta Testers Needed
 
For those using firebase-tools or Github Actions to deploy Firebase Hosting sites, we are looking for beta testers for a Golang Firebase Hosting CLI tool based on the Firebase Hosting REST API . It reduces, by over 90%, the deployment costs and runtime for apps with frequent updates.

The standard firebase-tools CLI pushes 250mb which makes storage & CPU an expensive blocker for using Firebase Hosting on restricted environments. 

If you are interested in the new Golang Firebase hosting CLI please email me to be added to the testers. The Repo will be online soon.


Anthony Metzidis

unread,
Oct 21, 2024, 8:27:44 AMOct 21
to fireba...@googlegroups.com
https://github.com/tonymet/gcloud-go

About

gcloud-go -- a fast & lightweight rest client for deployment to Firebase Hosting , Google Cloud Storage and other APIs

For VM images, containers & cloud functions that have demanding iops, vcpu or time requirements, gcloud-go will avoid unnecessary resources

Features

  • concurrent & resume-able uploads. Only modified files are uploaded during release
  • uses native authentication / metadata service within the cloud
  • docker image and linux-amd64 binaries available (see below)

In Progress

  • > 1000 file / paginated upload support
  • multi-core file signing & compression
  • gcs storage & firebase storage support for large files
  • google cloud pub/sub support for triggering builds

Compared to Firebase-tools

docker imagesizesavings
firebase-tools245mbn/a
gcloud-go19mb92%

On Thu, Oct 17, 2024 at 2:38 PM 'Joe Hanley' via Firebase Google Group <fireba...@googlegroups.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

Anthony Metzidis

unread,
Oct 21, 2024, 2:29:30 PMOct 21
to fireba...@googlegroups.com
Great to hear it Mike.  You can "watch" the repo here, download releases and share your results by adding issues


Anthony Metzidis

unread,
Nov 12, 2024, 1:11:27 PMNov 12
to fireba...@googlegroups.com

I've made a few updates and the tool is a bit more stable now.  tested regularly on 7500 files at a 50% speed improvement over firebase-cli .  Give it a go https://github.com/tonymet/gcloud-go

  • concurrent & incremental uploads. Only modified files are uploaded during release
  • uses native authentication / metadata service within the cloud
  • multi-core file hashing & compression
  • docker image and linux-amd64 binaries available (see below)
  • sync 10k files in seconds with fixed memory
  • GCS storage downloads


Reply all
Reply to author
Forward
0 new messages