Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow caching directly to Azure or S3 blob storage #676

Open
lilith opened this issue Dec 17, 2020 · 1 comment
Open

Allow caching directly to Azure or S3 blob storage #676

lilith opened this issue Dec 17, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@lilith
Copy link

lilith commented Dec 17, 2020

Cache size limits are untenable for those compiling large Rust or C++ apps that need gigabytes of caching per run.

Azure Blob Storage and S3 both offer built-in automatic blob eviction via lifecycle management.

I propose extending packages/cache/src/internal/cacheHttpClient or adding a swappable implementation to permit caching directly to Azure or S3 (either works), and enabling this behavior when the requisite environment variables are set.

This would bypass the cache service, which I believe is currently responsible for proxying uploads and handling eviction.

Required environment variables

ACTIONS_CACHE_AZURE_CONTAINER
ACTIONS_CACHE_AZURE_CONNECTION_STRING

@lilith lilith added the enhancement New feature or request label Dec 17, 2020
@s0undt3ch
Copy link

Almost 3 years past, will this ever be considered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants