Replies: 1 comment
-
|
Turborepo can't guarantee deduplication of the cache artifacts in this scenario, so I'm not sure that we can definitively say that this is safe. It's advisable to rely on Remote Caching for these types of workloads. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
In a scenario where one repository is cloned onto the same build agent more than once (i.e. several clones on different branches), is it safe for builds to run in more than one repository and share a cache directory?
I noticed it is possible to set the
cacheDiroption. If I set this to an absolute path that is shared by multiple clones of the same repo, will this lead to conflicts if two tasks run at the same time? Or is it safe to do so?Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions