Skip to content

Commit 9ea2fa7

Browse files
committed
WIP Emit events from the PipelineRun controller
Emit additional events: - Pipeline Start Emit all events through the events.go module. Align and simplify the reconcile structure to have clear points for error handling and emitting events.
1 parent 6ae926f commit 9ea2fa7

File tree

4 files changed

+268
-172
lines changed

4 files changed

+268
-172
lines changed

pkg/reconciler/pipelinerun/controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ func NewController(images pipeline.Images) func(context.Context, configmap.Watch
6969
ConfigMapWatcher: cmw,
7070
ResyncPeriod: resyncPeriod,
7171
Logger: logger,
72+
Recorder: controller.GetEventRecorder(ctx),
7273
}
7374

7475
c := &Reconciler{

0 commit comments

Comments
 (0)