zuul/tests
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
..
fixtures Merge "Support job pause" 2018-08-09 20:29:43 +00:00
nodepool Fix nodepool-zuul-functional 2018-02-16 15:56:02 +00:00
remote Fix delegate_to for ansible synchronize 2018-07-23 09:47:13 -04:00
unit Cache branches in connections/sources 2018-08-09 16:02:02 -07:00
__init__.py Add non-voting jobs. 2012-08-23 23:20:09 +00:00
base.py Add command socket handler for full reconfiguration 2018-08-09 20:36:11 +00:00
encrypt_secret.py Make tests' encrypt_secret.py work with python3 2017-10-19 18:09:57 +00:00
fakegithub.py Merge "Reduce number of reconfigurations on branch delete" 2018-07-26 15:08:47 +00:00
make_playbooks.py Use libyaml if possible 2017-04-04 11:49:05 -07:00
print_layout.py Do not add implied branch matchers in project-templates 2017-09-30 10:19:07 -07:00