Clearing Cache on a trigger

Can caches be made non-immutable? We tried adding a job that restored the cache, did an rm -rf and save cache and ran it with a weekly trigger, but that didn’t clear it. That or allow {{ .Environment.variableName }} to read from a user set env var.

I suggest adding this as a feature request.

You would not be able to delete the cache from within the container, as it is downloaded from elsewhere. Currently you would need to change the cache key in your config.yml to access a separate bucket. A feature request to specifically delete cache would be excellent!

Feature request added:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.