zuul/zuul
James E. Blair e53250c80d Report dynamic layout config errors
If Zuul encounters a syntax error when loading an in-repo layout,
report that as a failure on the change.  Try to provide as much
readable information as possible to allow the user to diagnose the
error.

All top-level configuration objects are updated to support a hidden
source context variable to aid in creating a useful error message.

Item.areAllJobsComplete is updated so that it returns true in the
case of a merge failure or config error.  In Zuulv2, we knew what
jobs we would run even in those cases, but in Zuulv3, we don't, so
the item does not have a job tree, so in those cases, the item does
not report that all jobs are complete.  Returining True in this case
allows the NNFI algorithm to continue and expel the item from the
queue, avoiding an inifinite loop.

The merge failure accessor method is simplified.

Change-Id: I9cf19b87c6af5926b5e8bb403b81ce0470e3592d
2017-03-03 11:12:22 -08:00
..
ansible Merge "Fix keyerror with synchronize" into feature/zuulv3 2017-02-24 19:55:28 +00:00
cmd Merge "Allow loading logging config from yaml" into feature/zuulv3 2017-02-23 19:37:41 +00:00
connection Reorganize connections into drivers 2017-01-20 05:43:21 -08:00
driver Fix getInfoRefs call from getProjectBranches 2017-02-22 08:21:50 +01:00
launcher Add timeout variable to jobs 2017-03-01 15:31:01 -05:00
lib Add Git driver 2017-02-15 14:04:49 -08:00
manager Report dynamic layout config errors 2017-03-03 11:12:22 -08:00
merger Fix race in sshwrapper 2017-02-21 14:31:45 -05:00
reporter Report dynamic layout config errors 2017-03-03 11:12:22 -08:00
source Reorganize connections into drivers 2017-01-20 05:43:21 -08:00
trigger Reorganize connections into drivers 2017-01-20 05:43:21 -08:00
__init__.py Initial commit. 2012-05-29 14:49:32 -07:00
change_matcher.py Inherit playbooks and modify job variance 2017-02-10 09:57:01 -08:00
configloader.py Report dynamic layout config errors 2017-03-03 11:12:22 -08:00
exceptions.py Support post jobs by supporting rev checkout 2016-07-12 12:51:51 +10:00
layoutvalidator.py Merge "Merge branch 'master' into workingv3" into feature/zuulv3 2016-11-30 13:52:01 +00:00
model.py Report dynamic layout config errors 2017-03-03 11:12:22 -08:00
nodepool.py Spell NodeSet consistently 2017-01-18 09:26:10 -08:00
rpcclient.py Add tenant support to zuul client 2016-11-14 08:47:42 -05:00
rpclistener.py Re-enable test_client_get_running_jobs 2016-12-05 10:52:07 -08:00
scheduler.py Merge "Remove layout option, adapt -t option accordingly" into feature/zuulv3 2017-02-23 19:35:59 +00:00
version.py Migrate to pbr. 2013-06-25 19:04:30 +00:00
webapp.py Re-enable test_webapp_find_change 2016-12-20 12:27:21 -08:00
zk.py Remove zk host list parsing 2017-02-21 11:08:47 -05:00