proud-jackal-16497
03/26/2021, 4:00 PM[cache]
resolver = 'rest'
read_from = ['<http://localhost:8080>']
write_to = ['<http://localhost:8080>']
I have tried everything I can think of but I cannot seem to get Pants to make requests to a remote cache or fail when passing invalid cache locations...enough-analyst-54434
03/26/2021, 4:22 PM[GLOBAL] pants_version
section of your pants.toml.proud-jackal-16497
03/26/2021, 4:23 PM[GLOBAL]
pants_version = "1.30.4"
pythonpath = ["%(buildroot)s/plugins"]
backend_packages = ["pack"]
enough-analyst-54434
03/26/2021, 4:26 PMproud-jackal-16497
03/26/2021, 4:27 PMhappy-kitchen-89482
03/26/2021, 9:08 PM<http://localhost:8080/>
in your config? Have you tried putting your remote cache URL in read_from
and write_to
and not setting resolver
?resolver='rest'
means that the urls in `read_from`/`write_to` are discovery URLs that should return a JSON object whose hostlist
key has the value of a list of actual URLsproud-jackal-16497
03/29/2021, 3:08 PMhappy-kitchen-89482
03/29/2021, 8:08 PM-ldebug
to seee if the debug output gives you anything usefulproud-jackal-16497
03/31/2021, 8:20 PM/$HOME/.cache/pants
? or something else?happy-kitchen-89482
03/31/2021, 9:48 PM~/.cache/pants
, I don't recallproud-jackal-16497
03/31/2021, 11:08 PM