The Gatekeeper, or a project gating system
Go to file
James E. Blair 9b41a0b502 Properly shutdown apscheduler on reconfigure
This addresses a recent increase in test_idle failures.  The
existing apscheduler was not being shut down during reconfigurations
which caused us to end up with two apschedulers running during the
test.  This could cause a trigger event to fire while the test
was expecting the system to be idle.

The triggers were not previously shut down during reconfigurations.
Instead, the timer trigger relied on having its postConfig method
called on each reconfiguration, where it would begin by cleaning
up any existing jobs.  However, since the connections changes,
triggers are stopped, discarded, and recreated during reconfiguration.
Because the stop method of the timer trigger was not actually being
called, a new trigger was created each time we reconfigured, and old
ones were never cleaned up.

This likely had a production impact as well, however, it was not
likely to be visible unless a configuration change altered the
scheduled times for periodic queues (in that case, we would see jobs
run at both the old and new times).

Change-Id: Ia7c61984a9c47a9b1554a4ccb99309674dffec11
2016-05-12 11:36:16 -07:00
doc Don't reload connections on HUP 2016-04-12 01:23:56 +10:00
etc Split pipeline description by double newlines on status page 2016-03-15 07:01:39 +00:00
tests Add report URL to status.json 2016-04-21 17:49:00 -07:00
tools Update zuul-changes to use the enqueue command 2015-03-03 15:46:04 +11:00
zuul Properly shutdown apscheduler on reconfigure 2016-05-12 11:36:16 -07:00
.gitignore Add vim swap files to .gitignore 2015-12-10 18:18:34 +00:00
.gitreview Updated .gitreview location 2012-12-16 20:34:13 +00:00
.mailmap Fix pep8 E127 violations 2012-09-26 14:23:10 +00:00
.testr.conf Add ability to skip log capture. 2013-07-02 17:47:23 +00:00
LICENSE Initial commit. 2012-05-29 14:49:32 -07:00
MANIFEST.in Migrate to pbr. 2013-06-25 19:04:30 +00:00
NEWS.rst Fix two typos on zuul documentation 2015-07-28 22:16:32 +09:00
README.rst Switched documentation to point to storyboard. 2014-11-11 15:59:24 -08:00
TESTING.rst Support multiple triggers 2013-08-01 11:56:52 -07:00
requirements.txt Pin paramiko < 2.0.0 2016-05-02 12:48:17 +00:00
setup.cfg Add ansible launch server 2016-04-22 09:52:05 -07:00
setup.py Partial sync with OpenStack requirements. 2013-09-25 15:30:37 -07:00
test-requirements.txt Enhance CRD doc with diagrams 2015-11-18 15:19:51 +11:00
tox.ini Pass ZUUL_TEST_ROOT through tox 2016-02-03 14:32:05 -08:00

README.rst

Zuul

Zuul is a trunk gating system developed for the OpenStack Project.

Contributing

To browse the latest code, see: https://git.openstack.org/cgit/openstack-infra/zuul/tree/ To clone the latest code, use git clone git://git.openstack.org/openstack-infra/zuul

Bugs are handled at: https://storyboard.openstack.org/#!/project/679

Code reviews are, as you might expect, handled by gerrit. The gerrit they use is http://review.openstack.org

Use git review to submit patches (after creating a gerrit account that links to your launchpad account). Example:

# Do your commits
$ git review
# Enter your username if prompted