diff options
author | Tobias Henkel <tobias.henkel@bmw.de> | 2019-05-12 10:11:23 +0200 |
---|---|---|
committer | Tobias Henkel <tobias.henkel@bmw.de> | 2019-05-17 06:06:11 +0200 |
commit | 8b455adca911f1c599b2ea6793a4d01f1c374bff (patch) | |
tree | 52af3580be114c02efad8d735b0724548fa15378 /zuul/manager/independent.py | |
parent | 2e08cd812ef35462fb1c942d74652fd4298c5378 (diff) | |
download | zuul-8b455adca911f1c599b2ea6793a4d01f1c374bff.tar.gz |
Attach event to queue item
As a preparation to further attach the event id to the logs we need to
add the trigger event to the queue items so we can use it later.
Change-Id: I9cc87e5be9a391a53a0dcfd92a990ca848616ca0
Diffstat (limited to 'zuul/manager/independent.py')
-rw-r--r-- | zuul/manager/independent.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zuul/manager/independent.py b/zuul/manager/independent.py index e6b0ce7a6..dfcbd1393 100644 --- a/zuul/manager/independent.py +++ b/zuul/manager/independent.py @@ -33,7 +33,7 @@ class IndependentPipelineManager(PipelineManager): self.log.debug("Dynamically created queue %s", change_queue) return DynamicChangeQueueContextManager(change_queue) - def enqueueChangesAhead(self, change, quiet, ignore_requirements, + def enqueueChangesAhead(self, change, event, quiet, ignore_requirements, change_queue, history=None): if history and change in history: # detected dependency cycle @@ -57,7 +57,7 @@ class IndependentPipelineManager(PipelineManager): # have jobs run. Also, pipeline requirements are always # ignored (which is safe because the changes are not # live). - r = self.addChange(needed_change, quiet=True, + r = self.addChange(needed_change, event, quiet=True, ignore_requirements=True, live=False, change_queue=change_queue, history=history) |