Configurable repository cache root directory path #32444
Gabriel-Ladzaretti
started this conversation in
Suggest an Idea
Replies: 1 comment 15 replies
-
What is the current approach/default Renovate uses? |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tell us more.
It is currently impossible to bind mount a repo cache file at the expected path when running a Renovate job as a docker container. this is because, if parent directories are not present in the container, they are created with root as the owner by default, and this docker behavior is not configurable. one such directory is the main cache directory, and when the cli tries to create a subdir, it fails with a permission error (e.g.,
__private_cache_dir
).one approach to address this limitation is to make the repo cache root directory configurable.
a current workaround is to bind mount the cache directory as well as the repo cache file, but this requires cleanup on the host, which is sub-optimal.
Beta Was this translation helpful? Give feedback.
All reactions