zuul/zuul/driver
Jesse Keating 64d2901084 Split github hook ingest and processing
We were taking in the hook and processing the content fully while the
connection to github remained open. This created a long delay and
blocked the thread from continuing, which can lead to timeouts.

This change splits things apart to model gerrit a bit more, so that when
a hook comes in, we minimally validate it and toss it into a queue, so
that we close the connection quickly. A second thread will iterate over
the queue to process the (potential) events.

This change drops handling of ping events, which would validate if the
project is one we know about. A follow up change will introduce project
validation at a higher level.

Change-Id: I463f4b888be056a3e2175ccdab0286d2ef4fa2b2
Signed-off-by: Jesse Keating <omgjlk@us.ibm.com>
2017-09-06 13:50:11 -07:00
..
bubblewrap Add /etc/alternatives to bwrap 2017-08-31 10:10:38 -07:00
gerrit Only grab the gerrit change if necessary 2017-09-06 20:22:30 +10:00
git Optionally limit github to protected branches 2017-08-03 11:50:26 +02:00
github Split github hook ingest and processing 2017-09-06 13:50:11 -07:00
nullwrap Write secrets to tmpfs 2017-08-19 08:08:19 -07:00
smtp Docs: reformat SMTP driver docs 2017-08-04 10:30:59 -07:00
sql sql: normalize logger name 2017-09-04 03:42:26 +00:00
timer Optionally limit github to protected branches 2017-08-03 11:50:26 +02:00
zuul Cleanup pipeline requirements 2017-07-28 10:37:59 -07:00
__init__.py Write secrets to tmpfs 2017-08-19 08:08:19 -07:00
util.py Add driver-specific pipeline requirements 2017-05-19 13:24:00 -07:00