Allow looking up buildcache hosts in pants

Review Request #2815 - Created Sept. 14, 2015 and submitted

Information
Peiyu Wang
pants
2171, 2219
2dd37e3...
Reviewers
pants-reviews
areitz, ity, kwlzn, nhoward_tw, stuhood, zundel

Today buildcache urls are statically configured in pants. In Twitter case we
use a centralized load balancer, that becomes a bottleneck with the recent
monobuild launch. Deploying a local proxy is a possibility but not quite ready
yet because we have heterogeneous deployment environments besides aurora,
jenkins for example.

This CL adds an option --resolver to CacheSetup, which point to an endpoint
that supplies buildcache urls. The CL provides a RESTful implementation of the
resolver. --resolver is optional when it is not supplied, today's behavior
remains unchanged.

https://travis-ci.org/peiyuwang/pants/builds/80303989

Issues

  • 0
  • 5
  • 0
  • 5
Description From Last Updated
Peiyu Wang
Kris Wilson
Stu Hood
Peiyu Wang
Nick Howard (Twitter)
Eric Ayers
Peiyu Wang
Eric Ayers
Peiyu Wang
Stu Hood
Eric Ayers
Stu Hood
Peiyu Wang
Peiyu Wang
Peiyu Wang
Review request changed

Status: Closed (submitted)

Change Summary:

Merged as d78d1e74f63c1b0d6ba77de4e31972213aa1008a

Loading...