https://pantsbuild.org/ logo
#general
Title
# general
a

ancient-stone-50795

03/10/2016, 12:45 PM
@adorable-glass-89507: our distributed cache uses NFS. The configuration is pretty simple:
Copy code
[cache]
# '/mnt/nfs/shared-cache/pants-artifact-cache' is available on ec2 workers
read_from: ["/mnt/nfs/shared-cache/pants-artifact-cache"]
read: True
write_to: ["/mnt/nfs/shared-cache/pants-artifact-cache"]
write: True
# Turn off auto-purging of the buildcache.  We have a cronjob that cleans the NFS mount
# for all artifacts older than 2 weeks
max_entries_per_target: 0