nienbo / cache-buildkite-plugin

Tarball, Rsync & S3 Cache Kit for Buildkite. Supports Linux, macOS and Windows
https://buildkite.com/plugins
MIT License
67 stars 39 forks source link

Avoid uploading corrupted cache to S3 #74

Closed chirgjn closed 1 week ago

chirgjn commented 2 months ago

The generated tar file can be corrupted, which when used as cache will result in failures. This PR adds a "check" and "retry" for tar file generation.

gencer commented 2 months ago

Hi @chirgjn

Thanks for the PR. It seems docker-compose is no longer available at latest version of GH Actions. I've fixed in master branch. You may rebase it, if you want and then we can fire a test again here.

🤞

chirgjn commented 2 months ago

Hi @gencer,

Thanks for your response. I've rebased the PR, we can trigger a test run if the changes look fine to start testing.

gencer commented 2 months ago

CI reports failures due to changes.