zuul/zuul
James E. Blair a48c9101c6 Cache branches in connections/sources
The current attempt to caches branches is ineffective -- we
query the list of branches during every tenant reconfiguration.

The list of branches for a project is really global information;
we might cache it on the Abide, however, drivers may need to filter
that list based on tenant configuration (eg, github protected
branches).  To accomodate that, just allow/expect the drivers to
perform their own caching of branches, and to generally keep
the list up to date (or at least invalidate their caches) by
observing branch create/delete events.

A full reconfiguration instructs the connections to clear their
caches so that we perform a full query.  That way, an operator
can correct from a situation where the cache is invalid.

Change-Id: I3bd0cda5875dd21368e384e3704a61ebb5dcedfa
2018-08-09 16:02:02 -07:00
..
ansible Merge "Allow get_mime: False on localhost" 2018-08-09 20:52:35 +00:00
cmd Add command socket handler for full reconfiguration 2018-08-09 20:36:11 +00:00
connection Cache branches in connections/sources 2018-08-09 16:02:02 -07:00
driver Cache branches in connections/sources 2018-08-09 16:02:02 -07:00
execution_context Add wrapper driver execution context 2017-08-18 16:35:12 -07:00
executor Merge "Support job pause" 2018-08-09 20:29:43 +00:00
lib Merge "Cache decryption results" 2018-08-07 20:13:18 +00:00
manager Merge "Add request reference when hitting a node failure" 2018-08-09 20:43:13 +00:00
merger Fix logging of clone url 2018-07-04 07:09:42 +00:00
reporter Scope config line comments to change 2018-08-09 10:59:11 -07:00
source Cache branches in connections/sources 2018-08-09 16:02:02 -07:00
sphinx Add zuul-sphinx as a requirement 2017-08-07 14:56:17 -07:00
trigger Remove use of six library 2017-06-19 10:34:57 -05:00
web web: add /{tenant}/job/{job_name} route 2018-08-06 01:13:11 +00:00
__init__.py Initial commit. 2012-05-29 14:49:32 -07:00
_setup_hook.py Use yarn and webpack to manage zuul-web javascript 2018-03-04 07:20:40 -06:00
change_matcher.py Fix implied branch matchers and tags 2017-12-01 15:54:24 -08:00
configloader.py Cache branches in connections/sources 2018-08-09 16:02:02 -07:00
exceptions.py mqtt: add basic reporter 2018-05-02 07:20:46 +00:00
model.py Merge "Support job pause" 2018-08-09 20:29:43 +00:00
nodepool.py zuul autohold: allow operator to specify nodes TTL 2018-03-26 10:32:18 +02:00
rpcclient.py Add a dequeue command to zuul client 2018-07-27 04:21:07 +00:00
rpclistener.py web: add /{tenant}/job/{job_name} route 2018-08-06 01:13:11 +00:00
scheduler.py Cache branches in connections/sources 2018-08-09 16:02:02 -07:00
version.py Report git sha in status page version 2018-04-27 10:21:43 -07:00
zk.py Remove unecessary shebang and exec bit 2018-07-26 07:12:24 +00:00