I\'m experimenting with more cost effective ways to deploy my Rails apps, and went through the Ruby Starter Projects to get a feel for Google Cloud Platform.
It\'s <
Well, you're kinda mixing up 2 different cases:
Update: I missed your point earlier, upon a closer look at both your logs I agree with your observation that the cache seems to be local to each build VM (explained by the cache hits only during building the worker
modules, each on the same VM where the corresponding default
module was built beforehand) and thus not re-used across deployments.
Another Update: there might be a way to get cache hits across deployments...
The gcloud preview app deploy DESCRIPTION indicates that the hosted build could also be done using the Container Builder API (which appears to be the default setting!) in addition to a temporary VM:
To use a temporary VM (with the default --docker-build=remote setting), rather than the Container Builder API to perform docker builds, run:
$ gcloud config set app/use_cloud_build false
Builds done using the Container Builder API might use a shared storage, which might allow cache hits across deployments. IMHO it's worth a try.