Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cache Data in Google Cloudbuild

I would like to use Google Cloudbuild to run integration tests. Currently, my tests take 30 minutes to run. The main bottleneck is that the tests query lots of data from external sources. I don't mind reusing the same data every time I run the tests. Is there a way for me to cache that data somewhere local to Cloudbuild so that it loads much faster?


1 Answers

There is a contributed cache cloud builder at https://github.com/GoogleCloudPlatform/cloud-builders-community/tree/master/cache that facilitates less anemic caching functionality into a GCS bucket.

I'd still love to see something more functional with more pre-fabbed cache rules like Travis CI has.

like image 83
David Schmitt Avatar answered Nov 04 '25 04:11

David Schmitt