在 Google Cloudbuild 中缓存数据

4 google-cloud-build

我想使用 Google Cloudbuild 来运行集成测试。目前,我的测试需要 30 分钟才能运行。主要瓶颈是测试从外部源查询大量数据。我不介意每次运行测试时重复使用相同的数据。有没有办法让我将该数据缓存到 Cloudbuild 本地某个位置,以便加载速度更快?

Dav*_*itt 5

https://github.com/GoogleCloudPlatform/cloud-builders-community/tree/master/cache上有一个贡献的cache云构建器,可以将较少的贫乏缓存功能简化到 GCS 存储桶中。

我仍然希望看到像Travis CI那样具有更多预制缓存规则的功能更强大的东西。