zuul/zuul
James E. Blair ce56ff9756 Add wrapper driver execution context
We recently began altering the mount map used by the wrapper driver
for each execution run (so that we can only include the current
playbook).  However, the setMountsMap method operates on the global
driver object rather than an object more closely bound to the lifetime
of the playbook run.  The fact that this works at all is just luck
(executing process is slow enough that hitting a race condition where
the wrong directories are mounted is unlikely).

To correct this, add a new layer which contains the context for the
current playbook execution.

Change-Id: I3a06f19e88435a49c7b9aea4e1221b812f5a43d0
2017-08-18 16:35:12 -07:00
..
ansible Fix zuul_stream callback dict modification 2017-08-17 14:57:37 -04:00
cmd Remove state_dir requirement from merger 2017-08-03 17:11:14 -07:00
connection Remove use of six library 2017-06-19 10:34:57 -05:00
driver Add wrapper driver execution context 2017-08-18 16:35:12 -07:00
execution_context Add wrapper driver execution context 2017-08-18 16:35:12 -07:00
executor Add wrapper driver execution context 2017-08-18 16:35:12 -07:00
lib Use mypy to do static type checking 2017-07-27 14:34:07 -05:00
manager Ensure ref-updated jobs run with their ref 2017-08-02 16:56:18 -07:00
merger Ensure ref-updated jobs run with their ref 2017-08-02 16:56:18 -07:00
reporter Return executor errors to user 2017-07-18 14:19:11 -07:00
source Optionally limit github to protected branches 2017-08-03 11:50:26 +02: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 Add html based websocket client for console stream 2017-07-19 15:53:43 +02:00
__init__.py Initial commit. 2012-05-29 14:49:32 -07:00
change_matcher.py GitHub file matching support 2017-05-10 14:32:02 -07:00
configloader.py Rename allow-secrets to post-review 2017-08-11 10:40:48 -07:00
exceptions.py Support post jobs by supporting rev checkout 2016-07-12 12:51:51 +10:00
model.py Rename allow-secrets to post-review 2017-08-11 10:40:48 -07:00
nodepool.py Don't request empty nodesets 2017-08-04 08:21:44 -07:00
rpcclient.py Fix autohold RPC protocol 2017-07-31 16:16:36 -04:00
rpclistener.py Fix autohold RPC protocol 2017-07-31 16:16:36 -04:00
scheduler.py Merge "Remove zuul_url from merger config" into feature/zuulv3 2017-08-01 21:48:25 +00:00
version.py Migrate to pbr. 2013-06-25 19:04:30 +00:00
webapp.py Fix webapp path parsing 2017-08-01 16:47:54 -07:00
zk.py Remove duplicated states from zk.py 2017-07-31 19:43:15 +00:00