generator-mobile icon indicating copy to clipboard operation
generator-mobile copied to clipboard

Deploy to GCS

Open x1ddos opened this issue 11 years ago • 4 comments

x1ddos avatar Nov 30 '14 18:11 x1ddos

Is the plan to use gloud-node?

beriberikix avatar Dec 08 '14 23:12 beriberikix

I was actually thinking about gcloud/gsutil since it's already in the list of dependency checks, but yeah gcloud-node could be an alternative. Any pro/con?

x1ddos avatar Dec 08 '14 23:12 x1ddos

Obvious pro is that it is a lib, not CLI, so it allows for better/easier custom integration into a gulp script (streams FTW!) More concretely, we've been spending a lot of time on file uploading/multi-uploads that may not be fully baked in gsutil and I don't think is even in gcloud.

@stephenplusplus or @ryanseys can add more detail.

beriberikix avatar Dec 09 '14 00:12 beriberikix

Sounds cool! One thing I would be more than happy to delegate is authentication. That was actually why I was going for gcloud - gsutil is supposed to reuse auth token, if I'm not mistaken.

But then again, I guess I could try feed gcloud auth print-access-token to gcloud-node.

x1ddos avatar Dec 09 '14 00:12 x1ddos