cache-buildkite-plugin
cache-buildkite-plugin copied to clipboard
🎩🗄Cache ephemeral files between builds
Currently, the plugin only takes in a single directory/path for caching. It would be great to have support for caching multiple directories so you don't have to create multiple entries...
Fixes #78. I'm not very familiar with BATS tests, so if it's worth adding some tests for this then I'll need a bit of assistance.
I'm seeing an issue where a step fails partway through but the cache still uploads. This means that the subsequent retry step declines to upload the cache because it already...
Currently, if I specify multiple cache levels, e.g.: ```yaml path: cache manifest: foo.txt save: - file - pipeline ``` The `pipeline` cache is not updated when the `file` cache is...
I've noticed that compression occurs regardless of whether the cache ends up being pushed to the backend: https://github.com/buildkite-plugins/cache-buildkite-plugin/blob/d0177d1afda90a6f0beff16f1a4e1ebf6d4391bc/hooks/post-command#L42-L59 It would be nice to avoid compression if the cache already exists...
It seems if a job is cancelled during the `pre-command` hook (before it gets to deleting the temp folder), the temp files aren't cleaned up. ``` download: s3://dovetail-tooling-buildkite-cache/arm64/c543fe5bffefe6ca3bcbab1a9eb68e8bf6791742 to ../../../../../../../tmp/tmp.fyql3rk4h5...
* This MR adds support for google cloud storage via gsutil or gcloud storage
First off, thank you very much for implementing this change, and for responding to public feedback. I tried implementing this on my project, and basically as I understand it, an...